	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_mbx_process
_fm10k_mbx_process:                     ## @fm10k_mbx_process
	.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), %rax
	movq	_FM10K_STATE_CLOSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_fm10k_mbx_read
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.3:
	movq	%r15, %rdi
	callq	_fm10k_mbx_validate_msg_hdr
	testq	%rax, %rax
	js	LBB0_7
## %bb.4:
	movl	8(%r15), %edi
	movq	_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_GET
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_fm10k_mbx_process_error
	jmp	LBB0_12
LBB0_7:
	movq	%rax, %rbx
	jmp	LBB0_14
LBB0_8:
	movq	_FM10K_MBX_ERR_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_13
LBB0_9:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_fm10k_mbx_process_disconnect
	jmp	LBB0_12
LBB0_10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_fm10k_mbx_process_data
	jmp	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_fm10k_mbx_process_connect
LBB0_12:
	movq	%rax, %rbx
LBB0_13:
	testq	%rbx, %rbx
	jns	LBB0_15
LBB0_14:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_fm10k_mbx_create_error_msg
LBB0_15:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_fm10k_mbx_write
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_FM10K_STATE_CLOSED,8,3         ## @FM10K_STATE_CLOSED
	.comm	_TYPE,4,2                       ## @TYPE
	.comm	_FM10K_MBX_ERR_TYPE,8,3         ## @FM10K_MBX_ERR_TYPE
	.no_dead_strip	_fm10k_mbx_process
.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
_fm10k_mbx_process:                     ; @fm10k_mbx_process
	.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _FM10K_STATE_CLOSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FM10K_STATE_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x21, #0
	b	LBB0_16
LBB0_2:
	mov	x19, x1
	mov	x20, x0
	bl	_fm10k_mbx_read
	mov	x21, x0
	cbnz	x0, LBB0_16
; %bb.3:
	mov	x0, x19
	bl	_fm10k_mbx_validate_msg_hdr
	tbnz	x0, #63, LBB0_7
; %bb.4:
	ldr	w0, [x19, #8]
Lloh3:
	adrp	x8, _TYPE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_GET
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.5:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_fm10k_mbx_process_error
	b	LBB0_12
LBB0_7:
	mov	x21, x0
	b	LBB0_14
LBB0_8:
Lloh8:
	adrp	x8, _FM10K_MBX_ERR_TYPE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FM10K_MBX_ERR_TYPE@GOTPAGEOFF]
Lloh10:
	ldr	x21, [x8]
	b	LBB0_13
LBB0_9:
	mov	x0, x20
	mov	x1, x19
	bl	_fm10k_mbx_process_disconnect
	b	LBB0_12
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	bl	_fm10k_mbx_process_data
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	mov	x1, x19
	bl	_fm10k_mbx_process_connect
LBB0_12:
	mov	x21, x0
LBB0_13:
	tbz	x21, #63, LBB0_15
LBB0_14:
	mov	x0, x19
	mov	x1, x21
	bl	_fm10k_mbx_create_error_msg
LBB0_15:
	mov	x0, x20
	mov	x1, x19
	bl	_fm10k_mbx_write
LBB0_16:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_9-LBB0_6)>>2
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_11-LBB0_6)>>2
                                        ; -- End function
	.comm	_FM10K_STATE_CLOSED,8,3         ; @FM10K_STATE_CLOSED
	.comm	_TYPE,4,2                       ; @TYPE
	.comm	_FM10K_MBX_ERR_TYPE,8,3         ; @FM10K_MBX_ERR_TYPE
	.no_dead_strip	_fm10k_mbx_process
.subsections_via_symbols
