	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_mac_conf_tx                 ## -- Begin function il_mac_conf_tx
	.p2align	4, 0x90
_il_mac_conf_tx:                        ## @il_mac_conf_tx
	.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	%rcx, %r14
	movl	%edx, %r13d
	movq	(%rdi), %r15
	leaq	L_.str(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_D_MAC80211
	movq	%r15, %rdi
	callq	_il_is_ready_rf
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_AC_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r13d, %ebx
	jle	LBB0_3
## %bb.4:
	notl	%r13d
	addl	%r13d, %ebx
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movl	(%r14), %edi
	callq	_cpu_to_le16
	movq	8(%r15), %rcx
	movslq	%ebx, %rdx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,4), %rbx
	movq	%rax, 32(%rcx,%rbx)
	movl	4(%r14), %edi
	callq	_cpu_to_le16
	movq	8(%r15), %rcx
	movq	%rax, 24(%rcx,%rbx)
	movl	12(%r14), %eax
	movl	%eax, 16(%rcx,%rbx)
	movl	8(%r14), %edi
	shll	$5, %edi
	callq	_cpu_to_le16
	movq	8(%r15), %rcx
	movq	%rax, 8(%rcx,%rbx)
	movq	$0, (%rcx,%rbx)
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	leaq	L_.str.3(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_D_MAC80211
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_D_MAC80211
	movq	_EIO@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%r12d, %r12d
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_D_MAC80211
LBB0_5:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter\n"

L_.str.1:                               ## @.str.1
	.asciz	"leave - RF not ready\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_AC_NUM,4,2                     ## @AC_NUM
L_.str.2:                               ## @.str.2
	.asciz	"leave - queue >= AC_NUM %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"leave\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_mac_conf_tx                 ; -- Begin function il_mac_conf_tx
	.p2align	2
_il_mac_conf_tx:                        ; @il_mac_conf_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x3
	mov	x21, x2
	ldr	x19, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_MAC80211
	mov	x0, x19
	bl	_il_is_ready_rf
	cbz	w0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _AC_NUM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AC_NUM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.le	LBB0_4
; %bb.2:
	mvn	w9, w21
	add	w21, w8, w9
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w0, [x20]
	bl	_cpu_to_le16
	ldr	x8, [x19, #8]
	mov	w22, #40
	smaddl	x8, w21, w22, x8
	str	x0, [x8, #32]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	ldr	x8, [x19, #8]
	smaddl	x8, w21, w22, x8
	str	x0, [x8, #24]
	ldp	w10, w9, [x20, #8]
	str	w9, [x8, #16]
	lsl	w0, w10, #5
	bl	_cpu_to_le16
	ldr	x8, [x19, #8]
	smaddl	x8, w21, w22, x8
	stp	xzr, x0, [x8]
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh5:
	adrp	x0, l_.str.3@PAGE
Lloh6:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D_MAC80211
Lloh9:
	adrp	x8, _EIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_4:
	str	x21, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
	bl	_D_MAC80211
	mov	w0, #0
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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter\n"

l_.str.1:                               ; @.str.1
	.asciz	"leave - RF not ready\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_AC_NUM,4,2                     ; @AC_NUM
l_.str.2:                               ; @.str.2
	.asciz	"leave - queue >= AC_NUM %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"leave\n"

.subsections_via_symbols
