	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_mcdi_display_error         ## -- Begin function efx_mcdi_display_error
	.p2align	4, 0x90
_efx_mcdi_display_error:                ## @efx_mcdi_display_error
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_MC_CMD_ERR_CODE_OFST@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %rax
	xorl	%r13d, %r13d
	movl	$0, %r14d
	cmpq	%r8, %rax
	ja	LBB0_2
## %bb.1:
	movq	_ERR_CODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MCDI_DWORD
	movl	%eax, %r14d
LBB0_2:
	movq	_MC_CMD_ERR_ARG_OFST@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %rax
	cmpq	%r12, %rax
	ja	LBB0_4
## %bb.3:
	movq	_ERR_ARG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_MCDI_DWORD
	movl	%eax, %r13d
LBB0_4:
	movq	_hw@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	_EPERM@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	(%rax), %eax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	addl	%ebx, %eax
	sete	%cl
	movq	_err@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	leaq	L_.str(%rip), %r9
	movq	%r15, %rdi
	pushq	%r13
	pushq	%r14
	pushq	%rbx
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	callq	_netif_cond_dbg
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MC_CMD_ERR_CODE_OFST,4,2       ## @MC_CMD_ERR_CODE_OFST
	.comm	_ERR_CODE,4,2                   ## @ERR_CODE
	.comm	_MC_CMD_ERR_ARG_OFST,4,2        ## @MC_CMD_ERR_ARG_OFST
	.comm	_ERR_ARG,4,2                    ## @ERR_ARG
	.comm	_hw,4,2                         ## @hw
	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_err,4,2                        ## @err
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MC command 0x%x inlen %zu failed rc=%d (raw=%d) arg=%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efx_mcdi_display_error         ; -- Begin function efx_mcdi_display_error
	.p2align	2
_efx_mcdi_display_error:                ; @efx_mcdi_display_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x25, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _MC_CMD_ERR_CODE_OFST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MC_CMD_ERR_CODE_OFST@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x8, #4
	cmp	x8, x4
	b.ls	LBB0_2
; %bb.1:
	mov	w23, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ERR_CODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_CODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_MCDI_DWORD
	mov	x23, x0
LBB0_3:
Lloh6:
	adrp	x8, _MC_CMD_ERR_ARG_OFST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MC_CMD_ERR_ARG_OFST@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x8, x8, #4
	cmp	x8, x25
	b.ls	LBB0_5
; %bb.4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _ERR_ARG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_ARG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_MCDI_DWORD
LBB0_6:
Lloh12:
	adrp	x8, _hw@GOTPAGE
Lloh13:
	ldr	x8, [x8, _hw@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x22]
Lloh15:
	adrp	x8, _EPERM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmn	w8, w21
	cset	w3, eq
Lloh18:
	adrp	x8, _err@GOTPAGE
Lloh19:
	ldr	x8, [x8, _err@GOTPAGEOFF]
Lloh20:
	ldr	w4, [x8]
	stp	w23, w0, [sp, #4]
	str	w21, [sp]
Lloh21:
	adrp	x5, l_.str@PAGE
Lloh22:
	add	x5, x5, l_.str@PAGEOFF
	mov	x0, x22
	mov	x6, x20
	mov	x7, x19
	bl	_netif_cond_dbg
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MC_CMD_ERR_CODE_OFST,4,2       ; @MC_CMD_ERR_CODE_OFST
	.comm	_ERR_CODE,4,2                   ; @ERR_CODE
	.comm	_MC_CMD_ERR_ARG_OFST,4,2        ; @MC_CMD_ERR_ARG_OFST
	.comm	_ERR_ARG,4,2                    ; @ERR_ARG
	.comm	_hw,4,2                         ; @hw
	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_err,4,2                        ; @err
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MC command 0x%x inlen %zu failed rc=%d (raw=%d) arg=%d\n"

.subsections_via_symbols
