	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwl_pcie_gen2_build_tfd
_iwl_pcie_gen2_build_tfd:               ## @iwl_pcie_gen2_build_tfd
	.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	%r8, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r14
	movl	(%rsi), %esi
	movq	%r13, %rdi
	callq	_iwl_pcie_get_cmd_index
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_iwl_pcie_get_tfd
	movq	%rax, %r15
	movq	_IWL_FIRST_TB_SIZE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	$5, (%rax)
	setae	%dil
	callq	_BUILD_BUG_ON
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	(%r14), %edi
	callq	_ieee80211_is_data_qos
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_ieee80211_get_qos_ctl
	movq	_IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	(%rax), %ebx
	movl	(%r14), %edi
	callq	_ieee80211_hdrlen
	movl	%eax, %r14d
	testl	%ebx, %ebx
	je	LBB0_3
## %bb.4:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_skb_shinfo
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.8:
	subq	$8, %rsp
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r12, %r8
	movl	%r14d, %r9d
	pushq	$4
	callq	_iwl_pcie_gen2_build_tx_amsdu
	jmp	LBB0_7
LBB0_1:
	movl	(%r14), %edi
	callq	_ieee80211_hdrlen
	movl	%eax, %r14d
LBB0_3:
	movl	$1, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	movq	%r13, %rsi
	movq	%rbx, %rcx
	movq	%r12, %r8
	movl	%r14d, %r9d
	pushq	%rax
	pushq	$4
	callq	_iwl_pcie_gen2_build_tx
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_FIRST_TB_SIZE,4,2          ## @IWL_FIRST_TB_SIZE
	.comm	_IWL_DEVICE_FAMILY_22560,8,3    ## @IWL_DEVICE_FAMILY_22560
	.comm	_IEEE80211_QOS_CTL_A_MSDU_PRESENT,4,2 ## @IEEE80211_QOS_CTL_A_MSDU_PRESENT
	.no_dead_strip	_iwl_pcie_gen2_build_tfd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwl_pcie_gen2_build_tfd
_iwl_pcie_gen2_build_tfd:               ; @iwl_pcie_gen2_build_tfd
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x24, [x3]
	ldr	w1, [x1]
	mov	x0, x22
	bl	_iwl_pcie_get_cmd_index
	mov	x2, x0
	mov	x0, x23
	mov	x1, x22
	bl	_iwl_pcie_get_tfd
	mov	x25, x0
Lloh0:
	adrp	x8, _IWL_FIRST_TB_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_FIRST_TB_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #4
	cset	w0, hi
	bl	_BUILD_BUG_ON
	mov	x0, x25
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x24]
	bl	_ieee80211_is_data_qos
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x24
	bl	_ieee80211_get_qos_ctl
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w25, w9, w8
	ldr	w0, [x24]
	bl	_ieee80211_hdrlen
	mov	x24, x0
	cbz	w25, LBB0_5
; %bb.2:
	mov	x0, x20
	bl	_skb_shinfo
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x24
	mov	w6, #4
	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
	b	_iwl_pcie_gen2_build_tx_amsdu
LBB0_4:
	ldr	w0, [x24]
	bl	_ieee80211_hdrlen
	mov	x24, x0
LBB0_5:
	mov	w7, #1
	b	LBB0_7
LBB0_6:
	mov	w7, #0
LBB0_7:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	x5, x24
	mov	w6, #4
	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
	b	_iwl_pcie_gen2_build_tx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_FIRST_TB_SIZE,4,2          ; @IWL_FIRST_TB_SIZE
	.comm	_IWL_DEVICE_FAMILY_22560,8,3    ; @IWL_DEVICE_FAMILY_22560
	.comm	_IEEE80211_QOS_CTL_A_MSDU_PRESENT,4,2 ; @IEEE80211_QOS_CTL_A_MSDU_PRESENT
	.no_dead_strip	_iwl_pcie_gen2_build_tfd
.subsections_via_symbols
