	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function epat_log_adapter
_epat_log_adapter:                      ## @epat_log_adapter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -72(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -64(%rbp)
	leaq	L_.str.3(%rip), %rax
	movq	%rax, -56(%rbp)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.5(%rip), %rax
	movq	%rax, -40(%rbp)
	callq	_epat_connect
	movl	$10, %edi
	movl	$56, %esi
	callq	_WR
	movl	$11, %edi
	callq	_RR
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_epat_disconnect
	movslq	16(%rbx), %rsi
	movq	_EPAT_VERSION@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	movl	12(%rbx), %r8d
	leaq	L_.str.6(%rip), %rdi
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_printk
	movq	(%rbx), %rsi
	movq	-80(%rbp,%rsi,8), %rdx
	movl	8(%rbx), %ecx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_1
## %bb.2:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_printk                         ## TAILCALL
LBB0_1:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"4-bit"

L_.str.1:                               ## @.str.1
	.asciz	"5/3"

L_.str.2:                               ## @.str.2
	.asciz	"8-bit"

L_.str.3:                               ## @.str.3
	.asciz	"EPP-8"

L_.str.4:                               ## @.str.4
	.asciz	"EPP-16"

L_.str.5:                               ## @.str.5
	.asciz	"EPP-32"

L_.str.6:                               ## @.str.6
	.asciz	"%s: epat %s, Shuttle EPAT chip %x at 0x%x, "

	.comm	_EPAT_VERSION,4,2               ## @EPAT_VERSION
L_.str.7:                               ## @.str.7
	.asciz	"mode %d (%s), delay %d\n"

	.no_dead_strip	_epat_log_adapter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function epat_log_adapter
_epat_log_adapter:                      ; @epat_log_adapter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	stp	x8, x9, [sp, #8]
Lloh7:
	adrp	x8, l_.str.2@PAGE
Lloh8:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh9:
	adrp	x9, l_.str.3@PAGE
Lloh10:
	add	x9, x9, l_.str.3@PAGEOFF
	stp	x8, x9, [sp, #24]
Lloh11:
	adrp	x8, l_.str.4@PAGE
Lloh12:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh13:
	adrp	x9, l_.str.5@PAGE
Lloh14:
	add	x9, x9, l_.str.5@PAGEOFF
	stp	x8, x9, [sp, #40]
	bl	_epat_connect
	mov	w0, #10
	mov	w1, #56
	bl	_WR
	mov	w0, #11
	bl	_RR
	mov	x20, x0
	mov	x0, x19
	bl	_epat_disconnect
Lloh15:
	adrp	x8, _EPAT_VERSION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EPAT_VERSION@GOTPAGEOFF]
Lloh17:
	ldrsw	x2, [x8]
	ldp	w8, w1, [x19, #12]
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x1, w1
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.6@PAGE
Lloh19:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x3, x20
	bl	_printk
	ldr	x1, [x19]
	add	x8, sp, #8
	ldr	x2, [x8, x1, lsl #3]
	ldr	w3, [x19, #8]
	ldur	x8, [x29, #-24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_printk
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"4-bit"

l_.str.1:                               ; @.str.1
	.asciz	"5/3"

l_.str.2:                               ; @.str.2
	.asciz	"8-bit"

l_.str.3:                               ; @.str.3
	.asciz	"EPP-8"

l_.str.4:                               ; @.str.4
	.asciz	"EPP-16"

l_.str.5:                               ; @.str.5
	.asciz	"EPP-32"

l_.str.6:                               ; @.str.6
	.asciz	"%s: epat %s, Shuttle EPAT chip %x at 0x%x, "

	.comm	_EPAT_VERSION,4,2               ; @EPAT_VERSION
l_.str.7:                               ; @.str.7
	.asciz	"mode %d (%s), delay %d\n"

	.no_dead_strip	_epat_log_adapter
.subsections_via_symbols
