	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_ctrlset
_fill_ctrlset:                          ## @fill_ctrlset
	.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	%rsi, %rbx
	movq	%rdi, %r15
	movq	8(%rsi), %r13
	movq	_FCS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addl	(%rsi), %r12d
	movq	%rsi, %rdi
	movl	$48, %esi
	callq	_skb_push
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r13, %rbx
	callq	_IEEE80211_SKB_CB
	movq	%rax, %r13
	xorl	%edi, %edi
	cmpl	$65536, %r12d                   ## imm = 0x10000
	setb	%dil
	callq	_ZD_ASSERT
	movl	8(%rbx), %edi
	callq	_ieee80211_is_pspoll
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
LBB0_2:
	movl	4(%r15), %edi
	movq	%r13, %rsi
	callq	_ieee80211_get_tx_rate
	movl	4(%rax), %ecx
	movl	%ecx, 24(%r14)
	movq	(%r13), %rcx
	movq	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
LBB0_4:
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r14)
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_cs_set_control
	addl	$58, %r12d
	xorl	%edi, %edi
	cmpl	$65536, %r12d                   ## imm = 0x10000
	setb	%dil
	callq	_ZD_ASSERT
	movq	%r15, %rdi
	callq	_zd_chip_is_zd1211b
	testq	%rax, %rax
	movl	$58, %edi
	cmovel	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, 40(%r14)
	movq	%r14, %rbx
	addq	$32, %rbx
	movq	$0, 32(%r14)
	movl	24(%r14), %edi
	callq	_ZD_RATE
	movl	%eax, %r15d
	movq	16(%r14), %rdi
	callq	_le16_to_cpu
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_zd_calc_tx_length_us
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%r14)
	movq	$0, (%r14)
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FCS_LEN,4,2                    ## @FCS_LEN
	.comm	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ## @IEEE80211_TX_RC_USE_SHORT_PREAMBLE
	.no_dead_strip	_fill_ctrlset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_ctrlset
_fill_ctrlset:                          ; @fill_ctrlset
	.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	x23, x1
	mov	x20, x0
	ldr	x21, [x1, #8]
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _FCS_LEN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FCS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w22, w9, w8
	mov	x0, x1
	mov	w1, #48
	bl	_skb_push
	mov	x19, x0
	mov	x0, x23
	bl	_IEEE80211_SKB_CB
	mov	x23, x0
	cmp	w22, #16, lsl #12               ; =65536
	cset	w0, lo
	bl	_ZD_ASSERT
	ldr	w0, [x21, #8]
	bl	_ieee80211_is_pspoll
	cbnz	w0, LBB0_2
; %bb.1:
	str	xzr, [x21]
LBB0_2:
	ldr	w0, [x20, #4]
	mov	x1, x23
	bl	_ieee80211_get_tx_rate
	ldr	w8, [x0, #4]
	str	w8, [x19, #24]
	ldr	x8, [x23]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_TX_RC_USE_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x0]
	str	w8, [x19, #24]
LBB0_4:
	mov	x0, x22
	bl	_cpu_to_le16
	str	x0, [x19, #16]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x23
	bl	_cs_set_control
	add	w21, w22, #58
	cmp	w21, #16, lsl #12               ; =65536
	cset	w0, lo
	bl	_ZD_ASSERT
	mov	x0, x20
	bl	_zd_chip_is_zd1211b
	cmp	x0, #0
	mov	w8, #58
	csel	w0, w21, w8, eq
	bl	_cpu_to_le16
	mov	x20, x19
	stp	xzr, x0, [x20, #32]!
	ldur	w0, [x20, #-8]
	bl	_ZD_RATE
	mov	x21, x0
	ldr	x0, [x19, #16]
	bl	_le16_to_cpu
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_zd_calc_tx_length_us
	tbnz	w0, #31, LBB0_6
; %bb.5:
	bl	_cpu_to_le16
	mov	x8, x0
	mov	w0, #0
	stp	xzr, x8, [x19]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FCS_LEN,4,2                    ; @FCS_LEN
	.comm	_IEEE80211_TX_RC_USE_SHORT_PREAMBLE,4,2 ; @IEEE80211_TX_RC_USE_SHORT_PREAMBLE
	.no_dead_strip	_fill_ctrlset
.subsections_via_symbols
