	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40iw_process_packet
_i40iw_process_packet:                  ## @i40iw_process_packet
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_1
LBB0_11:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40iw_handle_rst_pkt           ## TAILCALL
LBB0_1:
	cmpq	$0, 16(%rax)
	movq	8(%rax), %rcx
	je	LBB0_4
## %bb.2:
	testq	%rcx, %rcx
	je	LBB0_3
LBB0_7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40iw_handle_synack_pkt        ## TAILCALL
LBB0_4:
	movq	(%rax), %r14
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_8:
	movq	%rbx, %rdi
	callq	_i40iw_handle_ack_pkt
	testq	%r14, %r14
	je	LBB0_14
## %bb.9:
	testl	%eax, %eax
	jne	LBB0_14
LBB0_10:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40iw_handle_fin_pkt           ## TAILCALL
LBB0_5:
	movq	_I40IW_PKT_TYPE_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_12
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_3:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_i40iw_handle_syn_pkt           ## TAILCALL
LBB0_12:
	testq	%r14, %r14
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_i40iw_check_seq
	testl	%eax, %eax
	je	LBB0_10
LBB0_14:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_I40IW_PKT_TYPE_UNKNOWN,4,2     ## @I40IW_PKT_TYPE_UNKNOWN
	.no_dead_strip	_i40iw_process_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40iw_process_packet
_i40iw_process_packet:                  ; @i40iw_process_packet
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x1]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_2
LBB0_1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i40iw_handle_rst_pkt
LBB0_2:
	ldp	x9, x10, [x8, #8]
	cbz	x10, LBB0_5
; %bb.3:
	cbz	x9, LBB0_10
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i40iw_handle_synack_pkt
LBB0_5:
	ldr	x20, [x8]
	cbz	x9, LBB0_8
LBB0_6:
	mov	x0, x19
	bl	_i40iw_handle_ack_pkt
	cmp	x20, #0
	ccmp	w0, #0, #0, ne
	b.eq	LBB0_13
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh0:
	adrp	x9, _I40IW_PKT_TYPE_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I40IW_PKT_TYPE_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #128
	cmp	w9, #3
	b.hi	LBB0_11
; %bb.9:
Lloh3:
	adrp	x8, lJTI0_0@PAGE
Lloh4:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x10, LBB0_1
	ldrb	w11, [x8, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i40iw_handle_syn_pkt
LBB0_11:
	cbz	x20, LBB0_7
; %bb.12:
	mov	x0, x19
	mov	x1, x8
	bl	_i40iw_check_seq
	cbnz	w0, LBB0_7
LBB0_13:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_i40iw_handle_fin_pkt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_10-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
                                        ; -- End function
	.comm	_I40IW_PKT_TYPE_UNKNOWN,4,2     ; @I40IW_PKT_TYPE_UNKNOWN
	.no_dead_strip	_i40iw_process_packet
.subsections_via_symbols
