	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_mbx_process_error
_fm10k_mbx_process_error:               ## @fm10k_mbx_process_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	24(%rsi), %edi
	movq	_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_GET
	movl	%eax, %r15d
	movl	(%rbx), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_fm10k_mbx_reset_work
	movq	_FM10K_MBX_CRC_SEED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
	movl	%r15d, 4(%rbx)
	cmpl	$128, (%rbx)
	jne	LBB0_5
## %bb.3:
	movq	_FM10K_STATE_CONNECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_4
LBB0_1:
	movl	4(%rbx), %r15d
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fm10k_mbx_create_reply         ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	callq	_fm10k_mbx_create_connect_hdr
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HEAD,4,2                       ## @HEAD
	.comm	_FM10K_MBX_CRC_SEED,8,3         ## @FM10K_MBX_CRC_SEED
	.comm	_FM10K_STATE_CONNECT,4,2        ## @FM10K_STATE_CONNECT
	.no_dead_strip	_fm10k_mbx_process_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_mbx_process_error
_fm10k_mbx_process_error:               ; @fm10k_mbx_process_error
	.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, x1
	mov	x20, x0
	ldr	w0, [x1, #24]
Lloh0:
	adrp	x8, _HEAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HEAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_GET
	ldr	w8, [x19]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	bl	_fm10k_mbx_reset_work
Lloh3:
	adrp	x8, _FM10K_MBX_CRC_SEED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_MBX_CRC_SEED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x8, [x19, #8]
	str	w21, [x19, #4]
	ldr	w8, [x19]
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _FM10K_STATE_CONNECT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FM10K_STATE_CONNECT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_4
LBB0_3:
	ldr	w21, [x19, #4]
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	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
	b	_fm10k_mbx_create_reply
LBB0_5:
	mov	x0, x19
	bl	_fm10k_mbx_create_connect_hdr
	mov	w0, #0
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_HEAD,4,2                       ; @HEAD
	.comm	_FM10K_MBX_CRC_SEED,8,3         ; @FM10K_MBX_CRC_SEED
	.comm	_FM10K_STATE_CONNECT,4,2        ; @FM10K_STATE_CONNECT
	.no_dead_strip	_fm10k_mbx_process_error
.subsections_via_symbols
