	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_send_frag                      ## -- Begin function send_frag
	.p2align	4, 0x90
_send_frag:                             ## @send_frag
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_crc32
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	56(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	56(%rbx), %r13
	movl	(%rbx), %edi
	movl	8(%rbx), %r15d
	subl	4(%rbx), %r15d
	addl	12(%rbx), %r15d
	movq	_IEEE80211_FC0_TYPE_DATA@GOTPCREL(%rip), %rdx
	movq	40(%r13), %rax
	movl	(%rax), %esi
	movl	4(%rax), %ecx
	orl	(%rdx), %esi
	movl	%esi, (%rax)
	movq	_IEEE80211_FC0_SUBTYPE_DATA@GOTPCREL(%rip), %rdx
	orl	(%rdx), %esi
	movl	%esi, (%rax)
	movq	_IEEE80211_FC1_PROTECTED@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	addl	$-4, %edi
	movq	_IEEE80211_FC1_DIR_TODS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%edi, %r14d
	movl	%ecx, 4(%rax)
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	cmpl	%edi, %r15d
	cmovll	%r15d, %r14d
	jle	LBB0_2
## %bb.1:
	movq	_IEEE80211_FC1_MORE_FRAG@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, 4(%rax)
LBB0_2:
	movq	(%r13), %rax
	movq	$105, (%rax)
	movq	8(%r13), %rdi
	movl	16(%rbx), %esi
	movl	$6, %edx
	callq	_memcpy
	movq	16(%r13), %rdi
	movl	20(%rbx), %esi
	movl	$6, %edx
	callq	_memcpy
	movq	32(%r13), %rdi
	movl	$255, %esi
	movl	$6, %edx
	callq	_memset
	movq	24(%r13), %r12
	movl	24(%rbx), %edi
	movl	28(%rbx), %esi
	callq	_seqfn
	movw	%ax, (%r12)
	incl	28(%rbx)
	leaq	48(%r13), %rdi
	movl	32(%rbx), %esi
	movl	$3, %edx
	callq	_memcpy
	leaq	52(%r13), %r12
	movl	4(%rbx), %esi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_memcpy
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_crc32
	movslq	%r14d, %rcx
	movq	%rax, 52(%r13,%rcx)
	cmpl	$-3, %ecx
	jl	LBB0_9
## %bb.3:
	leal	4(%r14), %edi
	cmpl	$1, %edi
	jne	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_5:
	movl	%edi, %edx
	andl	$-2, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%rbx), %rsi
	movzbl	(%rsi,%rcx), %eax
	xorb	%al, 52(%r13,%rcx)
	movq	40(%rbx), %rax
	movzbl	1(%rax,%rcx), %eax
	xorb	%al, 53(%r13,%rcx)
	addq	$2, %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_6
LBB0_7:
	testb	$1, %dil
	je	LBB0_9
## %bb.8:
	movq	40(%rbx), %rax
	movb	(%rax,%rcx), %al
	xorb	%al, (%r12,%rcx)
LBB0_9:
	addl	%r14d, 4(%rbx)
	addl	$56, %r14d
	movl	%r14d, 48(%rbx)
	cmpl	-44(%rbp), %r15d                ## 4-byte Folded Reload
	jg	LBB0_11
## %bb.10:
	movl	8(%rbx), %eax
	movl	%eax, 4(%rbx)
	movl	$0, 28(%rbx)
	incl	24(%rbx)
LBB0_11:
	movq	%rbx, %rdi
	callq	_send_packet
	movq	_S_WAIT_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_IEEE80211_FC0_TYPE_DATA,4,2    ## @IEEE80211_FC0_TYPE_DATA
	.comm	_IEEE80211_FC0_SUBTYPE_DATA,4,2 ## @IEEE80211_FC0_SUBTYPE_DATA
	.comm	_IEEE80211_FC1_PROTECTED,4,2    ## @IEEE80211_FC1_PROTECTED
	.comm	_IEEE80211_FC1_DIR_TODS,4,2     ## @IEEE80211_FC1_DIR_TODS
	.comm	_IEEE80211_FC1_MORE_FRAG,4,2    ## @IEEE80211_FC1_MORE_FRAG
	.comm	_S_WAIT_ACK,4,2                 ## @S_WAIT_ACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function send_frag
lCPI0_0:
	.long	105                             ; 0x69
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_send_frag
	.p2align	2
_send_frag:                             ; @send_frag
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x0, #0
	mov	w2, #0
	bl	_crc32
	mov	x20, x0
	ldr	x0, [x19, #56]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x22, [x19, #56]
	ldp	w8, w9, [x19]
	sub	w23, w8, #4
	ldp	w8, w10, [x19, #8]
	sub	w8, w8, w9
	add	w24, w8, w10
Lloh3:
	adrp	x8, _IEEE80211_FC0_TYPE_DATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_FC0_TYPE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
	ldr	x8, [x22, #40]
	ldp	w10, w11, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
Lloh6:
	adrp	x10, _IEEE80211_FC0_SUBTYPE_DATA@GOTPAGE
Lloh7:
	ldr	x10, [x10, _IEEE80211_FC0_SUBTYPE_DATA@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	cmp	w24, w23
	csel	w21, w24, w23, lt
	str	w9, [x8]
Lloh9:
	adrp	x9, _IEEE80211_FC1_PROTECTED@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IEEE80211_FC1_PROTECTED@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w9, w11, w9
Lloh12:
	adrp	x10, _IEEE80211_FC1_DIR_TODS@GOTPAGE
Lloh13:
	ldr	x10, [x10, _IEEE80211_FC1_DIR_TODS@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8, #4]
	b.le	LBB0_2
; %bb.1:
Lloh15:
	adrp	x10, _IEEE80211_FC1_MORE_FRAG@GOTPAGE
Lloh16:
	ldr	x10, [x10, _IEEE80211_FC1_MORE_FRAG@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8, #4]
LBB0_2:
Lloh18:
	adrp	x8, lCPI0_0@PAGE
Lloh19:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	ldp	x8, x0, [x22]
	str	d0, [x8]
	ldr	w1, [x19, #16]
	mov	w2, #6
	bl	_memcpy
	ldr	x0, [x22, #16]
	ldr	w1, [x19, #20]
	mov	w2, #6
	bl	_memcpy
	ldr	x0, [x22, #32]
	mov	w1, #255
	mov	w2, #6
	bl	_memset
	ldr	x25, [x22, #24]
	ldp	w0, w1, [x19, #24]
	bl	_seqfn
	strh	w0, [x25]
	ldp	w8, w1, [x19, #28]
	add	w8, w8, #1
	str	w8, [x19, #28]
	add	x0, x22, #48
	mov	w2, #3
	bl	_memcpy
	add	x22, x22, #52
	ldr	w1, [x19, #4]
	mov	x0, x22
	mov	x2, x21
	bl	_memcpy
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_crc32
	str	x0, [x22, w21, sxtw]
	cmn	w21, #3
	b.lt	LBB0_5
; %bb.3:
	mov	x8, #0
	add	w9, w21, #4
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x22, x8]
	ldr	x11, [x19, #40]
	ldrb	w11, [x11, x8]
	eor	w10, w11, w10
	strb	w10, [x22, x8]
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_4
LBB0_5:
	add	w8, w21, #56
	str	w8, [x19, #48]
	ldr	w8, [x19, #4]
	add	w8, w8, w21
	str	w8, [x19, #4]
	cmp	w24, w23
	b.gt	LBB0_7
; %bb.6:
	ldr	w8, [x19, #8]
	str	w8, [x19, #4]
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	stp	w8, wzr, [x19, #24]
LBB0_7:
	mov	x0, x19
	bl	_send_packet
Lloh20:
	adrp	x8, _S_WAIT_ACK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _S_WAIT_ACK@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x19, #52]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdr	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_IEEE80211_FC0_TYPE_DATA,4,2    ; @IEEE80211_FC0_TYPE_DATA
	.comm	_IEEE80211_FC0_SUBTYPE_DATA,4,2 ; @IEEE80211_FC0_SUBTYPE_DATA
	.comm	_IEEE80211_FC1_PROTECTED,4,2    ; @IEEE80211_FC1_PROTECTED
	.comm	_IEEE80211_FC1_DIR_TODS,4,2     ; @IEEE80211_FC1_DIR_TODS
	.comm	_IEEE80211_FC1_MORE_FRAG,4,2    ; @IEEE80211_FC1_MORE_FRAG
	.comm	_S_WAIT_ACK,4,2                 ; @S_WAIT_ACK
.subsections_via_symbols
