	.file	"extr_epat.c_epat_log_adapter.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"4-bit"
.LC1:
	.string	"5/3"
.LC2:
	.string	"8-bit"
.LC3:
	.string	"EPP-8"
.LC4:
	.string	"EPP-16"
.LC5:
	.string	"EPP-32"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC6:
	.string	"%s: epat %s, Shuttle EPAT chip %x at 0x%x, "
	.section	.rodata.str1.1
.LC7:
	.string	"mode %d (%s), delay %d\n"
	.text
	.p2align 4
	.type	epat_log_adapter, @function
epat_log_adapter:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	rax, .LC0[rip]
	mov	QWORD PTR [rsp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR 8[rsp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR 24[rsp], rax
	lea	rax, .LC4[rip]
	mov	QWORD PTR 32[rsp], rax
	lea	rax, .LC5[rip]
	mov	QWORD PTR 40[rsp], rax
	call	epat_connect@PLT
	mov	esi, 56
	mov	edi, 10
	call	WR@PLT
	mov	edi, 11
	call	RR@PLT
	mov	rdi, rbx
	mov	r12d, eax
	call	epat_disconnect@PLT
	movsx	rsi, DWORD PTR 16[rbx]
	mov	r8d, DWORD PTR 12[rbx]
	xor	eax, eax
	movsx	rdx, DWORD PTR EPAT_VERSION[rip]
	mov	ecx, r12d
	lea	rdi, .LC6[rip]
	call	printk@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L6
	mov	ecx, DWORD PTR 8[rbx]
	mov	rdx, QWORD PTR [rsp+rsi*8]
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	lea	rdi, .LC7[rip]
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	printk@PLT
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	epat_log_adapter, .-epat_log_adapter
	.comm	EPAT_VERSION,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_epat.c_epat_log_adapter.c"
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"4-bit\000"
	.align	2
.LC1:
	.ascii	"5/3\000"
	.align	2
.LC2:
	.ascii	"8-bit\000"
	.align	2
.LC3:
	.ascii	"EPP-8\000"
	.align	2
.LC4:
	.ascii	"EPP-16\000"
	.align	2
.LC5:
	.ascii	"EPP-32\000"
	.text
	.section	.rodata.str1.4
	.align	2
.LC8:
	.ascii	"%s: epat %s, Shuttle EPAT chip %x at 0x%x, \000"
	.align	2
.LC9:
	.ascii	"mode %d (%s), delay %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	epat_log_adapter, %function
epat_log_adapter:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	sub	sp, sp, #44
	ldr	lr, .L7
	add	ip, sp, #12
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	stm	ip, {r0, r1}
	ldr	r3, .L7+4
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	epat_connect
	mov	r1, #56
	mov	r0, #10
	bl	WR
	mov	r0, #11
	bl	RR
	mov	r5, r0
	mov	r0, r4
	bl	epat_disconnect
	ldr	r1, [r4, #8]
	ldr	r2, .L7+8
	str	r1, [sp]
	mov	r3, r5
	ldr	r1, [r4, #12]
	ldr	r2, [r2]
	ldr	r0, .L7+12
	bl	printk
	ldr	r3, .L7+4
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	r3, sp, #40
	add	r2, r3, r1, lsl #2
	ldr	r2, [r2, #-28]
	ldr	r3, [r4, #4]
	ldr	r0, .L7+16
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, lr}
	b	printk
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LANCHOR0
	.word	.LC10
	.word	EPAT_VERSION
	.word	.LC8
	.word	.LC9
	.size	epat_log_adapter, .-epat_log_adapter
	.comm	EPAT_VERSION,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
