	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_sm_mbx_process_reset
_fm10k_sm_mbx_process_reset:            ## @fm10k_sm_mbx_process_reset
	.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	(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	xorl	%r15d, %r15d
	cmpl	$130, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.3:
	movq	_FM10K_STATE_CLOSED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	$0, 8(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rdi
	callq	_fm10k_sm_mbx_connect_reset
	movq	_FM10K_ERR_RESET_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_6
LBB0_5:
	movl	8(%rbx), %eax
	movl	%eax, 12(%rbx)
LBB0_6:
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_fm10k_sm_mbx_create_reply
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_STATE_CLOSED,4,2         ## @FM10K_STATE_CLOSED
	.comm	_FM10K_ERR_RESET_REQUESTED,4,2  ## @FM10K_ERR_RESET_REQUESTED
	.no_dead_strip	_fm10k_sm_mbx_process_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_sm_mbx_process_reset
_fm10k_sm_mbx_process_reset:            ; @fm10k_sm_mbx_process_reset
	.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	w8, [x1]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.3:
	mov	w21, #0
Lloh0:
	adrp	x8, _FM10K_STATE_CLOSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_STATE_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
	str	xzr, [x19, #8]
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_fm10k_sm_mbx_connect_reset
Lloh3:
	adrp	x8, _FM10K_ERR_RESET_REQUESTED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_ERR_RESET_REQUESTED@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	b	LBB0_7
LBB0_5:
	mov	w21, #0
	ldr	w8, [x19, #8]
	str	w8, [x19, #12]
	b	LBB0_7
LBB0_6:
	mov	w21, #0
LBB0_7:
	ldr	w2, [x19, #4]
	mov	x0, x20
	mov	x1, x19
	bl	_fm10k_sm_mbx_create_reply
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_STATE_CLOSED,4,2         ; @FM10K_STATE_CLOSED
	.comm	_FM10K_ERR_RESET_REQUESTED,4,2  ; @FM10K_ERR_RESET_REQUESTED
	.no_dead_strip	_fm10k_sm_mbx_process_reset
.subsections_via_symbols
