	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfa384x_wait_offset
_hfa384x_wait_offset:                   ## @hfa384x_wait_offset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	_HFA384X_BAP_BUSY_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%esi, %edi
	callq	_HFA384X_INW
	movq	_HFA384X_OFFSET_BUSY@GOTPCREL(%rip), %r15
	andl	(%r15), %eax
	je	LBB0_4
## %bb.1:
	testl	%ebx, %ebx
	jle	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_udelay
	movl	%r14d, %edi
	callq	_HFA384X_INW
	andl	(%r15), %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%rbx), %ecx
	cmpl	$1, %ebx
	movl	%ecx, %ebx
	ja	LBB0_2
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFA384X_BAP_BUSY_TIMEOUT,4,2   ## @HFA384X_BAP_BUSY_TIMEOUT
	.comm	_HFA384X_OFFSET_BUSY,4,2        ## @HFA384X_OFFSET_BUSY
	.no_dead_strip	_hfa384x_wait_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfa384x_wait_offset
_hfa384x_wait_offset:                   ; @hfa384x_wait_offset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
Lloh0:
	adrp	x8, _HFA384X_BAP_BUSY_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFA384X_BAP_BUSY_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	mov	x0, x1
	bl	_HFA384X_INW
Lloh3:
	adrp	x21, _HFA384X_OFFSET_BUSY@GOTPAGE
Lloh4:
	ldr	x21, [x21, _HFA384X_OFFSET_BUSY@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w0, w8, w0
	cmp	w0, #0
	ccmp	w20, #1, #8, ne
	b.lt	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w20, #1
	mov	w0, #1
	bl	_udelay
	mov	x0, x19
	bl	_HFA384X_INW
	ldr	w8, [x21]
	and	w0, w8, w0
	cmp	w0, #0
	ccmp	w20, #1, #0, ne
	mov	x20, x22
	b.hi	LBB0_1
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HFA384X_BAP_BUSY_TIMEOUT,4,2   ; @HFA384X_BAP_BUSY_TIMEOUT
	.comm	_HFA384X_OFFSET_BUSY,4,2        ; @HFA384X_OFFSET_BUSY
	.no_dead_strip	_hfa384x_wait_offset
.subsections_via_symbols
