	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function efx_mcdi_exit_assertion
_efx_mcdi_exit_assertion:               ## @efx_mcdi_exit_assertion
	.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, %r14
	movq	_inbuf@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_MC_CMD_REBOOT_IN_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_MCDI_DECLARE_BUF
	movq	_MC_CMD_REBOOT_OUT_LEN@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_BUILD_BUG_ON
	movl	(%rbx), %edi
	movq	_REBOOT_IN_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_MCDI_SET_DWORD
	movq	_MC_CMD_REBOOT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movl	(%r15), %ecx
	movq	$0, (%rsp)
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_efx_mcdi_rpc_quiet
	movl	%eax, %ebx
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	cmovel	%r13d, %ebx
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	%ebx, %r9d
	callq	_efx_mcdi_display_error
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inbuf,4,2                      ## @inbuf
	.comm	_MC_CMD_REBOOT_IN_LEN,4,2       ## @MC_CMD_REBOOT_IN_LEN
	.comm	_MC_CMD_REBOOT_OUT_LEN,8,3      ## @MC_CMD_REBOOT_OUT_LEN
	.comm	_REBOOT_IN_FLAGS,4,2            ## @REBOOT_IN_FLAGS
	.comm	_MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION,4,2 ## @MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION
	.comm	_MC_CMD_REBOOT,4,2              ## @MC_CMD_REBOOT
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_efx_mcdi_exit_assertion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function efx_mcdi_exit_assertion
_efx_mcdi_exit_assertion:               ; @efx_mcdi_exit_assertion
	.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, x0
Lloh0:
	adrp	x20, _inbuf@GOTPAGE
Lloh1:
	ldr	x20, [x20, _inbuf@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x21, _MC_CMD_REBOOT_IN_LEN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MC_CMD_REBOOT_IN_LEN@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_MCDI_DECLARE_BUF
Lloh4:
	adrp	x8, _MC_CMD_REBOOT_OUT_LEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MC_CMD_REBOOT_OUT_LEN@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BUILD_BUG_ON
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _REBOOT_IN_FLAGS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REBOOT_IN_FLAGS@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_MCDI_SET_DWORD
Lloh13:
	adrp	x22, _MC_CMD_REBOOT@GOTPAGE
Lloh14:
	ldr	x22, [x22, _MC_CMD_REBOOT@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w2, [x20]
	ldr	w3, [x21]
	mov	x0, x19
	mov	x4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_efx_mcdi_rpc_quiet
Lloh15:
	adrp	x8, _EIO@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmn	w0, w8
	csel	w20, wzr, w0, eq
	cbz	w20, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	ldr	w2, [x21]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	mov	x5, x20
	bl	_efx_mcdi_display_error
LBB0_2:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_inbuf,4,2                      ; @inbuf
	.comm	_MC_CMD_REBOOT_IN_LEN,4,2       ; @MC_CMD_REBOOT_IN_LEN
	.comm	_MC_CMD_REBOOT_OUT_LEN,8,3      ; @MC_CMD_REBOOT_OUT_LEN
	.comm	_REBOOT_IN_FLAGS,4,2            ; @REBOOT_IN_FLAGS
	.comm	_MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION,4,2 ; @MC_CMD_REBOOT_FLAGS_AFTER_ASSERTION
	.comm	_MC_CMD_REBOOT,4,2              ; @MC_CMD_REBOOT
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_efx_mcdi_exit_assertion
.subsections_via_symbols
