	.file	"26699751.c"
	.intel_syntax noprefix
	.text
	.globl	transform
	.type	transform, @function
transform:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	ecx, edi
	mov	eax, esi
	mov	QWORD PTR -32[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR -20[rbp], dl
	mov	BYTE PTR -24[rbp], al
	movzx	eax, BYTE PTR -20[rbp]
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR -24[rbp]
	or	eax, edx
	mov	WORD PTR -6[rbp], ax
	movsx	eax, WORD PTR -6[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR [rdx]
	movzx	ecx, dl
	cdq
	idiv	ecx
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	ecx, edx
	imul	ecx, eax
	movsx	eax, WORD PTR -6[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR [rdx]
	movzx	esi, dl
	cdq
	idiv	esi
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	imul	edx, eax
	mov	eax, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L2
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	imul	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, edx
	add	DWORD PTR -4[rbp], eax
.L2:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	transform, .-transform
	.globl	compute_response
	.type	compute_response, @function
compute_response:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	WORD PTR -30[rbp], 16306
	mov	BYTE PTR -28[rbp], -86
	mov	WORD PTR -27[rbp], 689
	mov	BYTE PTR -25[rbp], -85
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -64[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	lea	rdx, -30[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	transform
	mov	ebx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	lea	rdx, -27[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	transform
	or	eax, ebx
	mov	WORD PTR -34[rbp], ax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	lea	rdx, -27[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	transform
	mov	ebx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	ecx, al
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	lea	rdx, -30[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	transform
	or	eax, ebx
	mov	WORD PTR -32[rbp], ax
	movsx	eax, WORD PTR -34[rbp]
	sal	eax, 16
	mov	edx, eax
	movsx	eax, WORD PTR -32[rbp]
	or	eax, edx
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	compute_response, .-compute_response
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"26699751.c"
	.text
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
	.global	transform
	.syntax unified
	.arm
	.fpu softvfp
	.type	transform, %function
transform:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mov	r3, r0
	str	r2, [fp, #-28]
	strb	r3, [fp, #-21]
	mov	r3, r1
	strb	r3, [fp, #-22]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldrb	r3, [fp, #-22]	@ zero_extendqisi2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	strh	r3, [fp, #-18]	@ movhi
	ldrsh	r2, [fp, #-18]
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mul	r4, r3, r2
	ldrsh	r2, [fp, #-18]
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mul	r3, r2, r3
	sub	r3, r4, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L2
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mul	r3, r2, r3
	ldr	r2, [fp, #-28]
	add	r2, r2, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	transform, .-transform
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\262?\252"
	.align	2
.LC1:
	.ascii	"\261\002\253"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	compute_response
	.syntax unified
	.arm
	.fpu softvfp
	.type	compute_response, %function
compute_response:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r2, .L7+4
	sub	r3, fp, #24
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r2, .L7+8
	sub	r3, fp, #20
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-36]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #24
	mov	r1, r3
	bl	transform
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-32]
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-32]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #20
	mov	r1, r3
	bl	transform
	mov	r3, r0
	orr	r3, r4, r3
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-36]
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #20
	mov	r1, r3
	bl	transform
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldrb	r0, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-32]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #24
	mov	r1, r3
	bl	transform
	mov	r3, r0
	orr	r3, r4, r3
	strh	r3, [fp, #-26]	@ movhi
	ldrsh	r3, [fp, #-28]
	lsl	r2, r3, #16
	ldrsh	r3, [fp, #-26]
	orr	r3, r2, r3
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	compute_response, .-compute_response
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
