	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_tx_fragment
_dma_tx_fragment:                       ## @dma_tx_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
	movq	%rdi, %r14
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_skb_shinfo
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	setne	%dil
	callq	_B43legacy_WARN_ON
	movl	(%r14), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_request_slot
	movl	%eax, %r15d
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_op32_idx2desc
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movslq	%r15d, %rsi
	movq	%rsi, %r12
	shlq	$4, %r12
	addq	16(%r14), %r12
	movl	8(%r14), %r15d
	movq	(%rbx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %r13d
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_generate_cookie
	movl	%r15d, %edi
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%r13d, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	%eax, %r9d
	callq	_b43legacy_generate_txhdr
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14)
	jmp	LBB0_12
LBB0_2:
	movq	-104(%rbp), %r13                ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	movl	$1, %ecx
	callq	_map_descbuffer
	movq	-64(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	movl	$1, %ecx
	callq	_b43legacy_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14)
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_12
LBB0_4:
	movq	-64(%rbp), %rax
	movq	8(%rax), %rdx
	movl	$0, (%rsp)
	movq	%r14, %rbx
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$4, %ecx
	movl	$1, %r8d
	xorl	%r9d, %r9d
	callq	_op32_fill_descriptor
	movq	%r14, %rdi
	callq	_request_slot
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	callq	_op32_idx2desc
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	-56(%rbp), %rax
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, 16(%rax)
	movl	$1, (%rax)
	movq	(%r12), %rsi
	movl	8(%r12), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_map_descbuffer
	movq	-56(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movl	8(%r12), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	$1, %ecx
	callq	_b43legacy_dma_mapping_error
	testq	%rax, %rax
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_9
## %bb.5:
	movl	8(%r12), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movq	_GFP_DMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	movq	(%r12), %rsi
	movl	8(%r12), %edx
	movq	%rax, %rdi
	callq	_skb_put_data
	movl	16(%rbx), %edi
	movl	16(%r12), %esi
	movl	$4, %edx
	callq	_memcpy
	movl	12(%r12), %eax
	movl	%eax, 12(%rbx)
	movq	%r12, %rdi
	callq	_skb_get_queue_mapping
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_skb_set_queue_mapping
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%r12, %rdi
	callq	_dev_kfree_skb_any
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	-56(%rbp), %rax
	movq	%rbx, 16(%rax)
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	movq	%r14, %r12
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_map_descbuffer
	movq	-56(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	$1, %ecx
	callq	_b43legacy_dma_mapping_error
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movl	%r13d, (%r12)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r12)
	movq	_EIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_dev_kfree_skb_any
	jmp	LBB0_11
LBB0_6:
	movq	%r14, %r12
	movl	%r13d, (%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	negl	%r15d
	movq	-64(%rbp), %rax
	movq	8(%rax), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	movl	$1, %ecx
	callq	_unmap_descbuffer
	jmp	LBB0_12
LBB0_8:
	movq	%rbx, %r12
LBB0_9:
	movq	-56(%rbp), %rax
	movq	8(%rax), %rdx
	movl	8(%r12), %ecx
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_op32_fill_descriptor
	xorl	%eax, %eax
	callq	_wmb
	movq	%r14, %rdi
	movl	-80(%rbp), %esi                 ## 4-byte Reload
	callq	_next_slot
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_op32_poke_tx
LBB0_12:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ## @GFP_DMA
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_dma_tx_fragment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_tx_fragment
_dma_tx_fragment:                       ; @dma_tx_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	x19, x0
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x20, [x1]
	mov	x0, x20
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, ne
	bl	_B43legacy_WARN_ON
	ldp	w22, w21, [x19]
	mov	x0, x19
	bl	_request_slot
	mov	x25, x0
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x25
	bl	_op32_idx2desc
	str	x0, [sp]                        ; 8-byte Folded Spill
	ldr	x0, [sp, #16]
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [x19, #16]
	add	x24, x8, w25, sxtw #4
	ldr	w26, [x19, #8]
	ldr	x27, [x20]
	ldr	w28, [x20, #8]
	mov	x0, x19
	mov	x1, x25
	bl	_generate_cookie
	mov	x5, x0
	mov	x0, x26
	mov	x1, x24
	mov	x2, x27
	mov	x3, x28
	mov	x4, x23
	bl	_b43legacy_generate_txhdr
	mov	x23, x0
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	stp	w22, w21, [x19]
	b	LBB0_12
LBB0_2:
	ldp	x23, x28, [sp]                  ; 16-byte Folded Reload
	mov	x27, x22
	mov	w25, #1
	mov	x0, x19
	mov	x1, x24
	mov	w2, #4
	mov	w3, #1
	bl	_map_descbuffer
	mov	x1, x0
	ldr	x8, [sp, #16]
	str	x0, [x8, #8]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #1
	bl	_b43legacy_dma_mapping_error
	cbz	x0, LBB0_4
; %bb.3:
	stp	w27, w21, [x19]
Lloh0:
	adrp	x8, _EIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_12
LBB0_4:
	ldr	x8, [sp, #16]
	ldr	x2, [x8, #8]
	mov	x0, x19
	mov	x1, x23
	mov	w3, #4
	mov	w4, #1
	mov	w5, #0
	mov	w6, #0
	bl	_op32_fill_descriptor
	mov	x0, x19
	bl	_request_slot
	mov	x22, x0
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x22
	bl	_op32_idx2desc
	mov	x23, x0
	ldr	x0, [sp, #24]
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	x8, [sp, #24]
	str	x20, [x8, #16]
	str	w25, [x8]
	ldr	x1, [x20]
	ldr	w2, [x20, #8]
	mov	x0, x19
	mov	w3, #1
	bl	_map_descbuffer
	mov	x1, x0
	ldr	x8, [sp, #24]
	str	x0, [x8, #8]
	ldr	w2, [x20, #8]
	mov	x0, x19
	mov	w3, #1
	bl	_b43legacy_dma_mapping_error
	cbz	x0, LBB0_11
; %bb.5:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w0, [x20, #8]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _GFP_DMA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GFP_DMA@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_alloc_skb
	cbz	x0, LBB0_8
; %bb.6:
	mov	x24, x0
	ldr	x1, [x20]
	ldr	w2, [x20, #8]
	bl	_skb_put_data
	ldr	w0, [x24, #16]
	ldr	w1, [x20, #16]
	mov	w2, #4
	bl	_memcpy
	ldr	w8, [x20, #12]
	str	w8, [x24, #12]
	mov	x0, x20
	bl	_skb_get_queue_mapping
	mov	x1, x0
	mov	x0, x24
	bl	_skb_set_queue_mapping
	mov	x0, x24
	bl	_IEEE80211_SKB_CB
	mov	x0, x20
	bl	_dev_kfree_skb_any
	str	x24, [x28]
	ldr	x8, [sp, #24]
	str	x24, [x8, #16]
	ldr	x1, [x24]
	ldr	w2, [x24, #8]
	mov	x0, x19
	mov	w3, #1
	bl	_map_descbuffer
	mov	x1, x0
	ldr	x8, [sp, #24]
	str	x0, [x8, #8]
	ldr	w2, [x24, #8]
	mov	x0, x19
	mov	w3, #1
	bl	_b43legacy_dma_mapping_error
	cbz	x0, LBB0_10
; %bb.7:
	stp	w27, w21, [x19]
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x24
	bl	_dev_kfree_skb_any
	b	LBB0_9
LBB0_8:
	stp	w27, w21, [x19]
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
LBB0_9:
	neg	w23, w20
	ldr	x8, [sp, #16]
	ldr	x1, [x8, #8]
	mov	x0, x19
	mov	w2, #4
	mov	w3, #1
	bl	_unmap_descbuffer
	b	LBB0_12
LBB0_10:
	mov	x20, x24
LBB0_11:
	ldr	x8, [sp, #24]
	ldr	x2, [x8, #8]
	ldr	w3, [x20, #8]
	mov	x0, x19
	mov	x1, x23
	mov	w4, #0
	mov	w5, #1
	mov	w6, #1
	bl	_op32_fill_descriptor
	bl	_wmb
	mov	x0, x19
	mov	x1, x22
	bl	_next_slot
	mov	x1, x0
	mov	x0, x19
	bl	_op32_poke_tx
	mov	w23, #0
LBB0_12:
	mov	x0, x23
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_GFP_DMA,4,2                    ; @GFP_DMA
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_dma_tx_fragment
.subsections_via_symbols
