	.file	"extr_104-quad-8.c_quad8_count_preset_enable_write.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	quad8_count_preset_enable_write, @function
quad8_count_preset_enable_write:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r9, rdi
	mov	rdi, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r14, QWORD PTR [r9]
	mov	r13d, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rsi, 4[rsp]
	mov	r12d, DWORD PTR [r14]
	call	kstrtobool@PLT
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 4[rsp]
	movsx	rdx, DWORD PTR [rbx]
	xor	edi, edi
	lea	esi, 1[r12+r13*2]
	test	eax, eax
	mov	rax, QWORD PTR 8[r14]
	sete	dil
	mov	DWORD PTR 4[rsp], edi
	mov	DWORD PTR [rax+rdx*4], edi
	mov	rax, QWORD PTR 16[r14]
	add	edi, edi
	movsx	rdx, DWORD PTR [rbx]
	or	edi, DWORD PTR QUAD8_CTR_IOR[rip]
	or	edi, DWORD PTR [rax+rdx*4]
	call	outb@PLT
	mov	eax, ebp
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	quad8_count_preset_enable_write, .-quad8_count_preset_enable_write
	.comm	QUAD8_CTR_IOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_104-quad-8.c_quad8_count_preset_enable_write.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	quad8_count_preset_enable_write, %function
quad8_count_preset_enable_write:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	ldr	r5, [r0]
	sub	sp, sp, #12
	mov	r0, r3
	ldr	r3, .L7
	mov	r1, sp
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r6, [r5]
	ldr	r7, [r4]
	bl	kstrtobool
	cmp	r0, #0
	bne	.L1
	ldr	r3, [sp]
	ldr	r1, [r4]
	clz	r3, r3
	ldr	r2, [r5, #4]
	lsr	r3, r3, #5
	str	r3, [sp]
	str	r3, [r2, r1, lsl #2]
	ldr	r2, .L7+4
	ldr	r1, [r5, #8]
	ldr	r0, [r4]
	ldr	r2, [r2]
	ldr	r0, [r1, r0, lsl #2]
	orr	r3, r2, r3, lsl #1
	add	r1, r6, r7, lsl #1
	add	r1, r1, #1
	orr	r0, r3, r0
	bl	outb
	ldr	r0, [sp, #32]
.L1:
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	QUAD8_CTR_IOR
	.size	quad8_count_preset_enable_write, .-quad8_count_preset_enable_write
	.comm	QUAD8_CTR_IOR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
