	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_mcdi_abandon
_efx_mcdi_abandon:                      ## @efx_mcdi_abandon
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_efx_mcdi
	movq	_MCDI_MODE_FAIL@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%rax, %rdi
	callq	_xchg
	cmpq	(%r14), %rax
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_netif_dbg
	movq	_RESET_TYPE_MCDI_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_efx_schedule_reset             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MCDI_MODE_FAIL,8,3             ## @MCDI_MODE_FAIL
	.comm	_hw,4,2                         ## @hw
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MCDI is timing out; trying to recover\n"

	.comm	_RESET_TYPE_MCDI_TIMEOUT,4,2    ## @RESET_TYPE_MCDI_TIMEOUT
	.no_dead_strip	_efx_mcdi_abandon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_mcdi_abandon
_efx_mcdi_abandon:                      ; @efx_mcdi_abandon
	.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
	bl	_efx_mcdi
Lloh0:
	adrp	x20, _MCDI_MODE_FAIL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MCDI_MODE_FAIL@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_xchg
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x8, _hw@GOTPAGE
Lloh3:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	ldr	w2, [x19]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netif_dbg
Lloh7:
	adrp	x8, _RESET_TYPE_MCDI_TIMEOUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RESET_TYPE_MCDI_TIMEOUT@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_efx_schedule_reset
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MCDI_MODE_FAIL,8,3             ; @MCDI_MODE_FAIL
	.comm	_hw,4,2                         ; @hw
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MCDI is timing out; trying to recover\n"

	.comm	_RESET_TYPE_MCDI_TIMEOUT,4,2    ; @RESET_TYPE_MCDI_TIMEOUT
	.no_dead_strip	_efx_mcdi_abandon
.subsections_via_symbols
