	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_mbx_process_connect
_fm10k_mbx_process_connect:             ## @fm10k_mbx_process_connect
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rsi), %r13d
	movl	16(%rsi), %edi
	movq	_CONNECT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_GET
	movl	%eax, %r12d
	movl	16(%rbx), %edi
	movq	_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_FM10K_MSG_HDR_FIELD_GET
	movl	%eax, %r15d
	leal	-128(%r13), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.6:
	movq	%rbx, %rdi
	callq	_fm10k_mbx_connect_reset
	jmp	LBB0_5
LBB0_1:
	cmpl	$130, %r13d
	jne	LBB0_5
## %bb.2:
	movl	8(%rbx), %eax
	cmpl	%eax, %r12d
	jle	LBB0_4
## %bb.3:
	decl	%eax
	movl	%eax, 12(%rbx)
	jmp	LBB0_5
LBB0_4:
	movl	$128, (%rbx)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_fm10k_mbx_update_max_size
LBB0_5:
	movl	%r15d, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fm10k_mbx_create_reply         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONNECT_SIZE,4,2               ## @CONNECT_SIZE
	.comm	_HEAD,4,2                       ## @HEAD
	.no_dead_strip	_fm10k_mbx_process_connect
.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_connect
_fm10k_mbx_process_connect:             ; @fm10k_mbx_process_connect
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w23, [x1]
	ldr	w0, [x1, #16]
Lloh0:
	adrp	x8, _CONNECT_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONNECT_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_GET
	mov	x22, x0
	ldr	w0, [x19, #16]
Lloh3:
	adrp	x8, _HEAD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HEAD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_FM10K_MSG_HDR_FIELD_GET
	mov	x21, x0
	sub	w8, w23, #128
	cmp	w8, #2
	b.hs	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_fm10k_mbx_connect_reset
	b	LBB0_6
LBB0_2:
	cmp	w23, #130
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w22, w8
	b.le	LBB0_5
; %bb.4:
	sub	w8, w8, #1
	str	w8, [x19, #12]
	b	LBB0_6
LBB0_5:
	mov	w8, #128
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x22
	bl	_fm10k_mbx_update_max_size
LBB0_6:
	str	w21, [x19, #4]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fm10k_mbx_create_reply
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CONNECT_SIZE,4,2               ; @CONNECT_SIZE
	.comm	_HEAD,4,2                       ; @HEAD
	.no_dead_strip	_fm10k_mbx_process_connect
.subsections_via_symbols
