	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_mcdi_poll
_efx_mcdi_poll:                         ## @efx_mcdi_poll
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_efx_mcdi
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_efx_mcdi_poll_reboot
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	movq	%r14, %rbx
	addq	$4, %rbx
	movq	%rbx, %rdi
	callq	_spin_lock_bh
	movl	%r15d, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	movq	%rbx, %rdi
	callq	_spin_unlock_bh
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_USER_TICK_USEC@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	_MCDI_RPC_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	addq	(%r15), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	decl	%r13d
	movl	$1, %edi
	callq	_udelay
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	callq	_schedule_timeout_uninterruptible
	xorl	%r13d, %r13d
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r15), %rbx
	movq	%r12, %rdi
	callq	_efx_mcdi_poll_once
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_time_after
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_USER_TICK_USEC,4,2             ## @USER_TICK_USEC
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_MCDI_RPC_TIMEOUT,8,3           ## @MCDI_RPC_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.no_dead_strip	_efx_mcdi_poll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_mcdi_poll
_efx_mcdi_poll:                         ; @efx_mcdi_poll
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	bl	_efx_mcdi
	mov	x20, x0
	mov	x0, x19
	bl	_efx_mcdi_poll_reboot
	cbz	w0, LBB0_4
; %bb.1:
	mov	x21, x0
	add	x19, x20, #4
	mov	x0, x19
	bl	_spin_lock_bh
	str	w21, [x20]
	stp	xzr, xzr, [x20, #8]
	mov	x0, x19
	bl	_spin_unlock_bh
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh0:
	adrp	x8, _USER_TICK_USEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USER_TICK_USEC@GOTPAGEOFF]
Lloh2:
	adrp	x22, _jiffies@GOTPAGE
Lloh3:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	ldr	x8, [x22]
Lloh5:
	adrp	x9, _MCDI_RPC_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MCDI_RPC_TIMEOUT@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x20, x9, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w23, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w23, w23, #1
	mov	w0, #1
	bl	_udelay
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	bl	_schedule_timeout_uninterruptible
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x22]
	mov	x0, x19
	bl	_efx_mcdi_poll_once
	cbnz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_time_after
	cbz	x0, LBB0_5
; %bb.10:
Lloh8:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_USER_TICK_USEC,4,2             ; @USER_TICK_USEC
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_MCDI_RPC_TIMEOUT,8,3           ; @MCDI_RPC_TIMEOUT
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.no_dead_strip	_efx_mcdi_poll
.subsections_via_symbols
