	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hfa384x_to_aux
_hfa384x_to_aux:                        ## @hfa384x_to_aux
	.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
	movq	%rcx, %r14
	movl	%edx, %ecx
	orl	%esi, %ecx
	movl	$-1, %eax
	testb	$1, %cl
	jne	LBB0_2
## %bb.1:
	movl	%edx, %r15d
	movl	%esi, %ebx
	movl	%esi, %edi
	shrl	$7, %edi
	andl	$127, %ebx
	movq	_HFA384X_AUXPAGE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_HFA384X_OUTW
	movq	_HFA384X_AUXOFFSET_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_HFA384X_OUTW
	movl	$5, %edi
	callq	_udelay
	movq	_HFA384X_AUXDATA_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %edx
	shrl	$31, %edx
	addl	%r15d, %edx
	sarl	%edx
	movq	%r14, %rsi
	callq	_HFA384X_OUTSW
	xorl	%eax, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HFA384X_AUXPAGE_OFF,4,2        ## @HFA384X_AUXPAGE_OFF
	.comm	_HFA384X_AUXOFFSET_OFF,4,2      ## @HFA384X_AUXOFFSET_OFF
	.comm	_HFA384X_AUXDATA_OFF,4,2        ## @HFA384X_AUXDATA_OFF
	.no_dead_strip	_hfa384x_to_aux
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfa384x_to_aux
_hfa384x_to_aux:                        ; @hfa384x_to_aux
	.cfi_startproc
; %bb.0:
	orr	w8, w2, w1
	tbnz	w8, #0, LBB0_2
; %bb.1:
	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, x3
	mov	x20, x2
	lsr	w0, w1, #7
	and	w21, w1, #0x7f
Lloh0:
	adrp	x8, _HFA384X_AUXPAGE_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HFA384X_AUXPAGE_OFF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_HFA384X_OUTW
Lloh3:
	adrp	x8, _HFA384X_AUXOFFSET_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HFA384X_AUXOFFSET_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_HFA384X_OUTW
	mov	w0, #5
	bl	_udelay
Lloh6:
	adrp	x8, _HFA384X_AUXDATA_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HFA384X_AUXDATA_OFF@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	cmp	w20, #0
	cinc	w8, w20, lt
	asr	w2, w8, #1
	mov	x1, x19
	bl	_HFA384X_OUTSW
	mov	w0, #0
	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
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HFA384X_AUXPAGE_OFF,4,2        ; @HFA384X_AUXPAGE_OFF
	.comm	_HFA384X_AUXOFFSET_OFF,4,2      ; @HFA384X_AUXOFFSET_OFF
	.comm	_HFA384X_AUXDATA_OFF,4,2        ; @HFA384X_AUXDATA_OFF
	.no_dead_strip	_hfa384x_to_aux
.subsections_via_symbols
