	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_amsdu_to_8023s       ## -- Begin function ieee80211_amsdu_to_8023s
	.p2align	4, 0x90
_ieee80211_amsdu_to_8023s:              ## @ieee80211_amsdu_to_8023s
	.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	%r9d, %r12d
	movl	%r8d, -76(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	testl	%r12d, %r12d
	je	LBB0_23
## %bb.1:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_ieee80211_data_to_8023
	testl	%eax, %eax
	jne	LBB0_11
## %bb.2:
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_skb_pull
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	testq	%r13, %r13
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	jne	LBB0_4
	jmp	LBB0_21
LBB0_23:
	movq	(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
LBB0_4:
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r13, %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$4, %esi
	callq	_skb_push
	movq	%rax, %rdi
	leaq	-52(%rbp), %rsi
	movl	$4, %edx
	callq	_memcpy
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_skb_push
	movl	(%r15), %edx
	movq	%rax, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_skb_push
	movl	(%r15), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_memcpy
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	___skb_queue_tail
	cmpq	%r12, %r13
	movq	%r12, %r14
	movq	%rbx, %r12
	je	LBB0_21
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %edi
	movl	%edi, -52(%rbp)
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leal	24(%rax), %ebx
	movl	8(%r14), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	8(%r13), %rsi
	movl	(%r15), %edx
	movq	%r12, %rdi
	callq	_memcpy
	movq	16(%r13), %rsi
	movl	(%r15), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_memcpy
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %ebx
	movq	%r14, %r12
	ja	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r15d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%eax, %r14d
	negl	%r14d
	andl	$3, %r14d
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_skb_pull
	addl	%r14d, %ebx
	movq	%r12, %r13
	cmpl	%ebx, %r15d
	jbe	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	movl	$4, %esi
	callq	_ALIGN
	movl	%eax, %ebx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%rbx), %edi
	addl	$26, %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r13
	addl	$26, %ebx
	movq	%rax, %rdi
	movl	%ebx, %esi
	callq	_skb_reserve
	movl	-52(%rbp), %edi
	callq	_ntohs
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_skb_put
	movq	%rax, %rbx
	movq	(%r12), %r15
	movl	-52(%rbp), %edi
	callq	_ntohs
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movl	-52(%rbp), %edi
	callq	_ntohs
	addl	%eax, %r14d
	movq	%r12, %rbx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_skb_pull
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %r12
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_skb_reset_network_header
	movl	16(%r12), %eax
	movl	%eax, 16(%r13)
	movl	12(%r12), %eax
	movl	%eax, 12(%r13)
	movq	(%r13), %r15
	movl	24(%r15), %ebx
	shll	$8, %ebx
	orl	28(%r15), %ebx
	movq	_rfc1042_header@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ether_addr_equal
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_ETH_P_AARP@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movb	$1, %al
	movq	_ETH_P_IPX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %ebx
	jne	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_bridge_tunnel_header@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_ether_addr_equal
	testq	%rax, %rax
	setne	%al
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	%al, %edi
	callq	_likely
	testq	%rax, %rax
	movq	_ETH_ALEN@GOTPCREL(%rip), %r15
	movq	%r13, %rdi
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$6, %esi
	callq	_skb_pull
	jmp	LBB0_20
LBB0_9:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
	movq	%rbx, %r12
LBB0_10:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	___skb_queue_purge
	movq	%r12, %r13
LBB0_11:
	movq	%r13, %rdi
	callq	_dev_kfree_skb
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_rfc1042_header,4,2             ## @rfc1042_header
	.comm	_ETH_P_AARP,4,2                 ## @ETH_P_AARP
	.comm	_ETH_P_IPX,4,2                  ## @ETH_P_IPX
	.comm	_bridge_tunnel_header,4,2       ## @bridge_tunnel_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_amsdu_to_8023s       ; -- Begin function ieee80211_amsdu_to_8023s
	.p2align	2
_ieee80211_amsdu_to_8023s:              ; @ieee80211_amsdu_to_8023s
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
	stur	w4, [x29, #-96]                 ; 4-byte Folded Spill
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x22, x9, x12
	mov	sp, x22
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x23, x8, x12
	mov	sp, x23
	cbz	w5, LBB0_5
; %bb.1:
	mov	x0, x19
	mov	x1, x2
	mov	x2, x3
	bl	_ieee80211_data_to_8023
	cbnz	w0, LBB0_19
; %bb.2:
	mov	x0, x19
	mov	w1, #24
	bl	_skb_pull
	cbz	x0, LBB0_19
; %bb.3:
	cbz	x19, LBB0_20
; %bb.4:
	mov	x24, x0
	b	LBB0_8
LBB0_5:
	ldr	x24, [x19]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	mov	w1, #4
	bl	_skb_push
	sub	x1, x29, #92
	mov	w2, #4
	bl	_memcpy
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x27]
	mov	x0, x25
	bl	_skb_push
	ldr	w2, [x27]
	mov	x1, x23
	bl	_memcpy
	ldr	w1, [x27]
	mov	x0, x25
	bl	_skb_push
	ldr	w2, [x27]
	mov	x1, x22
	bl	_memcpy
	mov	x0, x20
	mov	x1, x25
	bl	___skb_queue_tail
	cmp	x25, x19
	b.eq	LBB0_20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24]
	stur	w0, [x29, #-92]
	bl	_ntohs
	mov	x26, x0
	add	w25, w0, #24
	ldr	w21, [x19, #8]
	ldr	x1, [x24, #8]
	ldr	w2, [x27]
	mov	x0, x22
	bl	_memcpy
	ldr	x1, [x24, #16]
	ldr	w2, [x27]
	mov	x0, x23
	bl	_memcpy
	cmp	w25, w21
	b.hi	LBB0_18
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	neg	w8, w26
	and	w28, w8, #0x3
	mov	x0, x19
	mov	w1, #24
	bl	_skb_pull
	add	w8, w25, w28
	cmp	w21, w8
	mov	x25, x19
	b.ls	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldur	w0, [x29, #-96]                 ; 4-byte Folded Reload
	mov	w1, #4
	bl	_ALIGN
	mov	x24, x0
	add	w8, w26, w0
	add	w0, w8, #26
	bl	_dev_alloc_skb
	cbz	x0, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x25, x0
	add	w1, w24, #26
	bl	_skb_reserve
	ldur	w0, [x29, #-92]
	bl	_ntohs
	mov	x1, x0
	mov	x0, x25
	bl	_skb_put
	mov	x24, x0
	ldr	x26, [x19]
	ldur	w0, [x29, #-92]
	bl	_ntohs
	mov	x2, x0
	mov	x0, x24
	mov	x1, x26
	bl	_memcpy
	ldur	w0, [x29, #-92]
	bl	_ntohs
	add	w1, w0, w28
	mov	x0, x19
	bl	_skb_pull
	cbz	x0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x24, x0
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	bl	_skb_reset_network_header
	ldur	d0, [x19, #12]
	stur	d0, [x25, #12]
	ldr	x26, [x25]
	ldp	w8, w9, [x26, #24]
	orr	w21, w9, w8, lsl #8
Lloh9:
	adrp	x8, _rfc1042_header@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rfc1042_header@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_ether_addr_equal
Lloh12:
	adrp	x8, _ETH_P_AARP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ETH_P_AARP@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _ETH_P_IPX@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ETH_P_IPX@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	cmp	x0, #0
	ccmp	w21, w8, #4, ne
	ccmp	w21, w9, #4, ne
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh18:
	adrp	x8, _bridge_tunnel_header@GOTPAGE
Lloh19:
	ldr	x8, [x8, _bridge_tunnel_header@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_ether_addr_equal
	cmp	x0, #0
	cset	w0, ne
	bl	_likely
	cbnz	x0, LBB0_16
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #1
	bl	_likely
	cbz	x0, LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x25
	mov	w1, #6
	bl	_skb_pull
	b	LBB0_7
LBB0_17:
	mov	x0, x25
	bl	_dev_kfree_skb
LBB0_18:
	mov	x0, x20
	bl	___skb_queue_purge
LBB0_19:
	mov	x0, x19
	bl	_dev_kfree_skb
LBB0_20:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.21:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_rfc1042_header,4,2             ; @rfc1042_header
	.comm	_ETH_P_AARP,4,2                 ; @ETH_P_AARP
	.comm	_ETH_P_IPX,4,2                  ; @ETH_P_IPX
	.comm	_bridge_tunnel_header,4,2       ; @bridge_tunnel_header
.subsections_via_symbols
