	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function default_test_proto
_default_test_proto:                    ## @default_test_proto
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	callq	*16(%rax)
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	movl	$160, %ecx
	callq	_pi_write_regr
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r13d
	xorl	$170, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	movl	%r13d, %ecx
	callq	_pi_write_regr
	movl	%ebx, %ecx
	xorl	$85, %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_pi_write_regr
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_pi_read_regr
	xorl	%ecx, %ecx
	cmpl	%r13d, %eax
	setne	%cl
	addl	%ecx, %r14d
	incl	%ebx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_1
## %bb.2:
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	movl	$176, %ecx
	callq	_pi_write_regr
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %r15d
	xorl	$170, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	movl	%r15d, %ecx
	callq	_pi_write_regr
	movl	%ebx, %ecx
	xorl	$85, %ecx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$3, %edx
	callq	_pi_write_regr
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$2, %edx
	callq	_pi_read_regr
	xorl	%ecx, %ecx
	cmpl	%r15d, %eax
	setne	%cl
	addl	%ecx, %r13d
	incl	%ebx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_3
## %bb.4:
	movq	8(%r12), %rax
	movq	%r12, %rdi
	callq	*8(%rax)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movl	16(%r12), %esi
	movq	8(%r12), %rax
	movl	(%rax), %edx
	movl	(%r12), %r8d
	movl	4(%r12), %ecx
	movl	%r13d, (%rsp)
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %r9d
	callq	_printk
LBB0_6:
	testl	%r14d, %r14d
	setne	%al
	testl	%r13d, %r13d
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: %s: port 0x%x, mode  %d, test=(%d,%d)\n"

	.no_dead_strip	_default_test_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function default_test_proto
_default_test_proto:                    ; @default_test_proto
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x2
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #16]
	blr	x8
	mov	x0, x19
	mov	w1, #0
	mov	w2, #6
	mov	w3, #160
	bl	_pi_write_regr
	mov	w20, #0
	mov	w23, #0
	mov	w24, #170
	mov	w25, #85
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	eor	w22, w23, w24
	mov	x0, x19
	mov	w1, #0
	mov	w2, #2
	mov	x3, x22
	bl	_pi_write_regr
	eor	w3, w23, w25
	mov	x0, x19
	mov	w1, #0
	mov	w2, #3
	bl	_pi_write_regr
	mov	x0, x19
	mov	w1, #0
	mov	w2, #2
	bl	_pi_read_regr
	cmp	w0, w22
	cinc	w20, w20, ne
	add	w23, w23, #1
	cmp	w23, #256
	b.ne	LBB0_1
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #6
	mov	w3, #176
	bl	_pi_write_regr
	mov	w22, #0
	mov	w24, #0
	mov	w25, #170
	mov	w26, #85
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	eor	w23, w24, w25
	mov	x0, x19
	mov	w1, #0
	mov	w2, #2
	mov	x3, x23
	bl	_pi_write_regr
	eor	w3, w24, w26
	mov	x0, x19
	mov	w1, #0
	mov	w2, #3
	bl	_pi_write_regr
	mov	x0, x19
	mov	w1, #0
	mov	w2, #2
	bl	_pi_read_regr
	cmp	w0, w23
	cinc	w22, w22, ne
	add	w24, w24, #1
	cmp	w24, #256
	b.ne	LBB0_3
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	cbz	w21, LBB0_6
; %bb.5:
	ldr	w1, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	ldp	w4, w3, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x5, x20
	mov	x6, x22
	bl	_printk
LBB0_6:
	cmp	w20, #0
	ccmp	w22, #0, #4, ne
	cset	w0, ne
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: %s: port 0x%x, mode  %d, test=(%d,%d)\n"

	.no_dead_strip	_default_test_proto
.subsections_via_symbols
