	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aq_fw2x_init
_aq_fw2x_init:                          ## @aq_fw2x_init
	.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
	movq	_aq_fw2x_mbox_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	xorl	%ecx, %ecx
	testl	%edx, %edx
	setne	%cl
	movq	%rbx, %rsi
	movl	$1000, %r8d                     ## imm = 0x3E8
	movl	$10000, %r9d                    ## imm = 0x2710
	callq	_readx_poll_timeout_atomic
	movq	_aq_fw2x_rpc_get@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	4(%rbx), %edx
	xorl	%ecx, %ecx
	testl	%edx, %edx
	setne	%cl
	movq	%rbx, %rsi
	movl	$1000, %r8d                     ## imm = 0x3E8
	movl	$100000, %r9d                   ## imm = 0x186A0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_readx_poll_timeout_atomic      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_aq_fw2x_mbox_get,4,2           ## @aq_fw2x_mbox_get
	.comm	_aq_fw2x_rpc_get,4,2            ## @aq_fw2x_rpc_get
	.no_dead_strip	_aq_fw2x_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aq_fw2x_init
_aq_fw2x_init:                          ; @aq_fw2x_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _aq_fw2x_mbox_get@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aq_fw2x_mbox_get@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w2, [x19]
	cmp	w2, #0
	cset	w3, ne
	mov	x1, x19
	mov	w4, #1000
	mov	w5, #10000
	bl	_readx_poll_timeout_atomic
Lloh3:
	adrp	x8, _aq_fw2x_rpc_get@GOTPAGE
Lloh4:
	ldr	x8, [x8, _aq_fw2x_rpc_get@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w2, [x19, #4]
	cmp	w2, #0
	cset	w3, ne
	mov	x1, x19
	mov	w4, #1000
	mov	w5, #34464
	movk	w5, #1, lsl #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_readx_poll_timeout_atomic
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_aq_fw2x_mbox_get,4,2           ; @aq_fw2x_mbox_get
	.comm	_aq_fw2x_rpc_get,4,2            ; @aq_fw2x_rpc_get
	.no_dead_strip	_aq_fw2x_init
.subsections_via_symbols
