	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_fragment
_ieee80211_fragment:                    ## @ieee80211_fragment
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_FCS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%edx, %eax
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	subl	%eax, %r12d
	leal	(%r12,%r13), %ebx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r15d
	subl	%ebx, %r15d
	movl	%r15d, %edi
	shrl	$31, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
## %bb.5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_6:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_1:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.2:
	movl	%r15d, %r14d
	cltq
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_IEEE80211_ENCRYPT_HEADROOM@GOTPCREL(%rip), %r15
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_skb_copy_queue_mapping
	movl	20(%r14), %eax
	movl	%eax, 20(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	%r12d, %esi
	callq	_skb_put
	movq	8(%r14), %rsi
	movq	%rax, %rdi
	movl	%r12d, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_skb_put
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movslq	%ebx, %rbx
	movq	8(%r14), %rsi
	addq	%rbx, %rsi
	movq	%rax, %rdi
	movl	%r13d, %edx
	callq	_memcpy
	addl	%r13d, %ebx
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	_IEEE80211_ENCRYPT_HEADROOM@GOTPCREL(%rip), %r15
	je	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpl	%r14d, %r12d
	movl	%r14d, %r13d
	cmovll	%r12d, %r13d
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	(%r12), %rdi
	addq	-88(%rbp), %rdi                 ## 8-byte Folded Reload
	addq	(%r15), %rdi
	movq	_IEEE80211_ENCRYPT_TAILROOM@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	subl	%r13d, %r14d
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	___skb_queue_tail
	movq	(%r15), %rsi
	addq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_skb_reserve
	movq	24(%rbx), %rdi
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	_IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	andl	(%rax), %ecx
	movl	%ecx, (%rax)
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_IEEE80211_TX_CTL_MORE_FRAMES@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_9
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax)
	xorl	%eax, %eax
LBB0_11:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_FCS_LEN,4,2                    ## @FCS_LEN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE80211_ENCRYPT_HEADROOM,8,3 ## @IEEE80211_ENCRYPT_HEADROOM
	.comm	_IEEE80211_ENCRYPT_TAILROOM,8,3 ## @IEEE80211_ENCRYPT_TAILROOM
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ## @IEEE80211_TX_CTL_CLEAR_PS_FILT
	.comm	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ## @IEEE80211_TX_CTL_FIRST_FRAGMENT
	.comm	_IEEE80211_TX_CTL_MORE_FRAMES,4,2 ## @IEEE80211_TX_CTL_MORE_FRAMES
	.no_dead_strip	_ieee80211_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_fragment
_ieee80211_fragment:                    ; @ieee80211_fragment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x24, [x0, #8]
Lloh0:
	adrp	x8, _FCS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FCS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w8, w8, w2
	sub	w25, w3, w8
	ldr	w8, [x1]
	add	w23, w25, w2
	sub	w27, w8, w23
	lsr	w0, w27, #31
	bl	_WARN_ON
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_3:
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	str	w23, [sp, #12]                  ; 4-byte Folded Spill
	cbz	w27, LBB0_9
; %bb.4:
Lloh5:
	adrp	x26, _IEEE80211_ENCRYPT_HEADROOM@GOTPAGE
Lloh6:
	ldr	x26, [x26, _IEEE80211_ENCRYPT_HEADROOM@GOTPAGEOFF]
	sxtw	x8, w22
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w28, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_skb_copy_queue_mapping
	ldr	d0, [x19, #16]
	str	d0, [x23, #16]
	mov	x0, x23
	mov	x1, x20
	bl	_skb_put
	ldr	x1, [x19, #8]
	mov	x2, x20
	bl	_memcpy
	mov	x0, x23
	mov	x1, x22
	bl	_skb_put
	ldr	x8, [x19, #8]
	add	x1, x8, w28, sxtw
	mov	x2, x22
	bl	_memcpy
	add	w28, w22, w28
	mov	x26, x21
	cbz	w27, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w25, w27
	csel	w22, w25, w27, lt
	ldr	x8, [x24]
	ldr	x9, [x26]
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x8, x8, x10
	add	x8, x8, x9
Lloh7:
	adrp	x9, _IEEE80211_ENCRYPT_TAILROOM@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IEEE80211_ENCRYPT_TAILROOM@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	add	x0, x8, x9
	bl	_dev_alloc_skb
	cbz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x23, x0
	sub	w27, w27, w22
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x23
	bl	___skb_queue_tail
	ldr	x8, [x24]
	mov	x21, x26
	ldr	x9, [x26]
	add	x1, x9, x8
	mov	x0, x23
	bl	_skb_reserve
	ldr	x0, [x23, #24]
	ldr	x1, [x19, #24]
	mov	w2, #8
	bl	_memcpy
	mov	x0, x23
	bl	_IEEE80211_SKB_CB
Lloh10:
	adrp	x8, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IEEE80211_TX_CTL_CLEAR_PS_FILT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IEEE80211_TX_CTL_FIRST_FRAGMENT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x0]
	bic	w8, w9, w8
	str	w8, [x0]
	cbz	w27, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x9, _IEEE80211_TX_CTL_MORE_FRAMES@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IEEE80211_TX_CTL_MORE_FRAMES@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	b	LBB0_5
LBB0_9:
	mov	w0, #0
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
Lloh19:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_FCS_LEN,4,2                    ; @FCS_LEN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE80211_ENCRYPT_HEADROOM,8,3 ; @IEEE80211_ENCRYPT_HEADROOM
	.comm	_IEEE80211_ENCRYPT_TAILROOM,8,3 ; @IEEE80211_ENCRYPT_TAILROOM
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IEEE80211_TX_CTL_CLEAR_PS_FILT,4,2 ; @IEEE80211_TX_CTL_CLEAR_PS_FILT
	.comm	_IEEE80211_TX_CTL_FIRST_FRAGMENT,4,2 ; @IEEE80211_TX_CTL_FIRST_FRAGMENT
	.comm	_IEEE80211_TX_CTL_MORE_FRAMES,4,2 ; @IEEE80211_TX_CTL_MORE_FRAMES
	.no_dead_strip	_ieee80211_fragment
.subsections_via_symbols
