	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adapter_test
_adapter_test:                          ## @adapter_test
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movslq	4(%rdi), %rdi
	callq	_DBGINFO
	movq	%rbx, %rdi
	callq	_register_test
	testq	%rax, %rax
	js	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	callq	_irq_test
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_loopback_test
	testq	%rax, %rax
	jns	LBB0_7
## %bb.6:
	movl	4(%rbx), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_7
LBB0_1:
	movl	4(%rbx), %esi
	movl	12(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_4:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_printk
LBB0_7:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"register test failure %s addr=%08X\n"

L_.str.2:                               ## @.str.2
	.asciz	"IRQ test failure %s IRQ=%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"loopback test failure %s\n"

	.no_dead_strip	_adapter_test
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adapter_test
_adapter_test:                          ; @adapter_test
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrsw	x0, [x0, #4]
	bl	_DBGINFO
	mov	x0, x19
	bl	_register_test
	tbnz	x0, #63, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_irq_test
	tbnz	x0, #63, LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_loopback_test
	tbz	x0, #63, LBB0_7
; %bb.3:
	ldr	w1, [x19, #4]
Lloh0:
	adrp	x0, l_.str.3@PAGE
Lloh1:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldr	w1, [x19, #4]
	ldr	w8, [x19, #12]
	str	x8, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldp	w1, w8, [x19, #4]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_printk
LBB0_7:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"register test failure %s addr=%08X\n"

l_.str.2:                               ; @.str.2
	.asciz	"IRQ test failure %s IRQ=%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"loopback test failure %s\n"

	.no_dead_strip	_adapter_test
.subsections_via_symbols
