	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function macii_reset_bus
_macii_reset_bus:                       ## @macii_reset_bus
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	_macii_reset_bus.req(%rip), %rdi
	callq	_request_is_queued
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_ADB_BUSRESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	_macii_reset_bus.req(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_adb_request
	movl	$3000, %edi                     ## imm = 0xBB8
	callq	_udelay
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_macii_reset_bus.req,4,2 ## @macii_reset_bus.req
	.comm	_ADB_BUSRESET,4,2               ## @ADB_BUSRESET
	.no_dead_strip	_macii_reset_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function macii_reset_bus
_macii_reset_bus:                       ; @macii_reset_bus
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _macii_reset_bus.req@PAGE
Lloh1:
	add	x0, x0, _macii_reset_bus.req@PAGEOFF
	bl	_request_is_queued
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ADB_BUSRESET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ADB_BUSRESET@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
Lloh5:
	adrp	x0, _macii_reset_bus.req@PAGE
Lloh6:
	add	x0, x0, _macii_reset_bus.req@PAGEOFF
	mov	x1, #0
	mov	w2, #0
	mov	w3, #1
	bl	_adb_request
	mov	w0, #3000
	bl	_udelay
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_macii_reset_bus.req,4,2 ; @macii_reset_bus.req
	.comm	_ADB_BUSRESET,4,2               ; @ADB_BUSRESET
	.no_dead_strip	_macii_reset_bus
.subsections_via_symbols
