	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rt2x00queue_create_tx_descriptor_seq
_rt2x00queue_create_tx_descriptor_seq:  ## @rt2x00queue_create_tx_descriptor_seq
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r13
	movq	(%rbx), %r14
	movl	4(%rax), %edi
	callq	_vif_to_intf
	movq	%rax, %rbx
	movq	_IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_8
## %bb.1:
	movq	_ENTRY_TXD_GENERATE_SEQ@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	%r15, %rsi
	callq	___set_bit
	movq	_REQUIRE_SW_SEQNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_rt2x00_has_cap_flag
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	_ENTRY_TXD_FIRST_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$16, %edi
	movq	%rbx, %rsi
	callq	_atomic_add_return
	jmp	LBB0_7
LBB0_2:
	movl	4(%r14), %edi
	callq	_ieee80211_is_beacon
	movl	(%r13), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.9:
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___set_bit                      ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	callq	_atomic_read
LBB0_7:
	movl	%eax, %ebx
	movq	_IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	andl	%eax, (%r14)
	movl	%ebx, %edi
	callq	_cpu_to_le16
	orl	%eax, (%r14)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r15, %rsi
	callq	___clear_bit
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_TX_CTL_ASSIGN_SEQ,4,2 ## @IEEE80211_TX_CTL_ASSIGN_SEQ
	.comm	_ENTRY_TXD_GENERATE_SEQ,4,2     ## @ENTRY_TXD_GENERATE_SEQ
	.comm	_REQUIRE_SW_SEQNO,4,2           ## @REQUIRE_SW_SEQNO
	.comm	_ENTRY_TXD_FIRST_FRAGMENT,4,2   ## @ENTRY_TXD_FIRST_FRAGMENT
	.comm	_IEEE80211_SCTL_FRAG,4,2        ## @IEEE80211_SCTL_FRAG
	.no_dead_strip	_rt2x00queue_create_tx_descriptor_seq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rt2x00queue_create_tx_descriptor_seq
_rt2x00queue_create_tx_descriptor_seq:  ; @rt2x00queue_create_tx_descriptor_seq
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_IEEE80211_SKB_CB
	mov	x22, x0
	ldr	x23, [x20]
	ldr	w0, [x0, #4]
	bl	_vif_to_intf
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_TX_CTL_ASSIGN_SEQ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x22, _ENTRY_TXD_GENERATE_SEQ@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ENTRY_TXD_GENERATE_SEQ@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x19
	bl	___set_bit
Lloh5:
	adrp	x8, _REQUIRE_SW_SEQNO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REQUIRE_SW_SEQNO@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_rt2x00_has_cap_flag
	cbz	w0, LBB0_4
LBB0_2:
Lloh8:
	adrp	x8, _ENTRY_TXD_FIRST_FRAGMENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENTRY_TXD_FIRST_FRAGMENT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.3:
	mov	w0, #16
	mov	x1, x20
	bl	_atomic_add_return
	b	LBB0_7
LBB0_4:
	ldr	w0, [x23, #4]
	bl	_ieee80211_is_beacon
	mov	x8, x0
	ldr	w0, [x22]
	cbz	x8, LBB0_9
; %bb.5:
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	___set_bit
LBB0_6:
	mov	x0, x20
	bl	_atomic_read
LBB0_7:
	mov	x19, x0
Lloh11:
	adrp	x8, _IEEE80211_SCTL_FRAG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IEEE80211_SCTL_FRAG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [x23]
	and	w8, w8, w0
	str	w8, [x23]
	mov	x0, x19
	bl	_cpu_to_le16
	ldr	w8, [x23]
	orr	w8, w8, w0
	str	w8, [x23]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	x1, x19
	bl	___clear_bit
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_TX_CTL_ASSIGN_SEQ,4,2 ; @IEEE80211_TX_CTL_ASSIGN_SEQ
	.comm	_ENTRY_TXD_GENERATE_SEQ,4,2     ; @ENTRY_TXD_GENERATE_SEQ
	.comm	_REQUIRE_SW_SEQNO,4,2           ; @REQUIRE_SW_SEQNO
	.comm	_ENTRY_TXD_FIRST_FRAGMENT,4,2   ; @ENTRY_TXD_FIRST_FRAGMENT
	.comm	_IEEE80211_SCTL_FRAG,4,2        ; @IEEE80211_SCTL_FRAG
	.no_dead_strip	_rt2x00queue_create_tx_descriptor_seq
.subsections_via_symbols
