	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_mbx_process_disconnect
_fm10k_mbx_process_disconnect:          ## @fm10k_mbx_process_disconnect
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %r12d
	movl	24(%rsi), %edi
	movq	_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_GET
	cmpq	$0, 16(%rbx)
	je	LBB0_4
## %bb.1:
	movq	_FM10K_MBX_ERR_TAIL@GOTPCREL(%rip), %rax
LBB0_2:
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_4:
	movl	%eax, %r15d
	movq	$0, 8(%rbx)
	movq	%rbx, %rdi
	callq	_fm10k_mbx_verify_remote_crc
	testq	%rax, %rax
	je	LBB0_5
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	andl	$-2, %r12d
	cmpl	$128, %r12d
	jne	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	callq	_fm10k_mbx_tx_complete
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	cmpl	4(%rbx), %r15d
	jne	LBB0_8
## %bb.9:
	movq	%rbx, %rdi
	callq	_fm10k_mbx_connect_reset
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fm10k_mbx_create_reply         ## TAILCALL
LBB0_8:
	movq	_FM10K_MBX_ERR_HEAD@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_HEAD,4,2                       ## @HEAD
	.comm	_FM10K_MBX_ERR_TAIL,8,3         ## @FM10K_MBX_ERR_TAIL
	.comm	_FM10K_MBX_ERR_HEAD,8,3         ## @FM10K_MBX_ERR_HEAD
	.no_dead_strip	_fm10k_mbx_process_disconnect
.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_disconnect
_fm10k_mbx_process_disconnect:          ; @fm10k_mbx_process_disconnect
	.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	w22, [x1]
	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	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _FM10K_MBX_ERR_TAIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_MBX_ERR_TAIL@GOTPAGEOFF]
LBB0_2:
	ldr	x0, [x8]
	b	LBB0_4
LBB0_3:
	mov	x21, x0
	str	xzr, [x19, #8]
	mov	x0, x19
	bl	_fm10k_mbx_verify_remote_crc
	cbz	x0, LBB0_5
LBB0_4:
	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
LBB0_5:
	and	w8, w22, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_fm10k_mbx_tx_complete
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x19
	bl	_fm10k_mbx_connect_reset
LBB0_9:
	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_10:
Lloh5:
	adrp	x8, _FM10K_MBX_ERR_HEAD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FM10K_MBX_ERR_HEAD@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HEAD,4,2                       ; @HEAD
	.comm	_FM10K_MBX_ERR_TAIL,8,3         ; @FM10K_MBX_ERR_TAIL
	.comm	_FM10K_MBX_ERR_HEAD,8,3         ; @FM10K_MBX_ERR_HEAD
	.no_dead_strip	_fm10k_mbx_process_disconnect
.subsections_via_symbols
