	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_probe_mpu401                   ## -- Begin function probe_mpu401
	.p2align	4, 0x90
_probe_mpu401:                          ## @probe_mpu401
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	%rdi, -16(%rbp)
	movl	20(%rbx), %eax
	movl	%eax, -24(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movl	16(%rbx), %eax
	movl	%eax, -48(%rbp)
	movl	$1, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_6
## %bb.1:
	incq	%rdi
	callq	_inb
	cmpl	$255, %eax
	jne	LBB0_3
## %bb.2:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_5
LBB0_3:
	leaq	-48(%rbp), %rdi
	callq	_reset_mpu401
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	_printk
	movl	%eax, %edi
	callq	_DDB
	xorl	%eax, %eax
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MPU401: Port %x looks dead.\n"

L_.str.1:                               ## @.str.1
	.asciz	"MPU401: Reset failed on port %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_probe_mpu401                   ; -- Begin function probe_mpu401
	.p2align	2
_probe_mpu401:                          ; @probe_mpu401
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	ldp	x8, x9, [x0]
	str	x8, [sp, #40]
	ldp	w11, w10, [x0, #16]
	str	w10, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	str	w11, [sp, #8]
	cbz	x9, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_7
LBB0_2:
	mov	x19, x0
	add	x0, x8, #1
	bl	_inb
	cmp	w0, #255
	b.ne	LBB0_4
; %bb.3:
	ldr	x1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	add	x0, sp, #8
	bl	_reset_mpu401
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	x1, [x19]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	_printk
	bl	_DDB
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MPU401: Port %x looks dead.\n"

l_.str.1:                               ; @.str.1
	.asciz	"MPU401: Reset failed on port %x\n"

.subsections_via_symbols
