	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iwlagn_mac_conf_tx
_iwlagn_mac_conf_tx:                    ## @iwlagn_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, %r12d
	movq	%rsi, %rbx
	callq	_IWL_MAC80211_GET_DVM
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	(%rax), %r13
	xorl	%edi, %edi
	testq	%r13, %r13
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_2:
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_MAC80211
	movq	%r15, %rdi
	callq	_iwl_is_ready_rf
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	_AC_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r12d, %ebx
	jle	LBB0_8
## %bb.6:
	notl	%r12d
	addl	%r12d, %ebx
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	(%r14), %edi
	callq	_cpu_to_le16
	movq	(%r13), %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	(%r13), %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	(%r13), %rcx
	movq	%rax, 8(%rcx,%rbx)
	movq	$0, (%rcx,%rbx)
	movq	%r15, %rdi
	callq	_mutex_unlock
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_MAC80211
	jmp	LBB0_3
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_IWL_DEBUG_MAC80211
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_IWL_DEBUG_MAC80211
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.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"

	.no_dead_strip	_iwlagn_mac_conf_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iwlagn_mac_conf_tx
_iwlagn_mac_conf_tx:                    ; @iwlagn_mac_conf_tx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	bl	_IWL_MAC80211_GET_DVM
	mov	x19, x0
	ldr	x8, [x22]
	ldr	x22, [x8]
	cmp	x22, #0
	cset	w0, eq
	bl	_WARN_ON
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_MAC80211
	mov	x0, x19
	bl	_iwl_is_ready_rf
	cbz	w0, LBB0_6
; %bb.4:
Lloh4:
	adrp	x8, _AC_NUM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AC_NUM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w8, w21
	b.le	LBB0_7
; %bb.5:
	mvn	w9, w21
	add	w21, w8, w9
	mov	x0, x19
	bl	_mutex_lock
	ldr	w0, [x20]
	bl	_cpu_to_le16
	ldr	x8, [x22]
	mov	w23, #40
	smaddl	x8, w21, w23, x8
	str	x0, [x8, #32]
	ldr	w0, [x20, #4]
	bl	_cpu_to_le16
	ldr	x8, [x22]
	smaddl	x8, w21, w23, x8
	str	x0, [x8, #24]
	ldp	w10, w9, [x20, #8]
	str	w9, [x8, #16]
	lsl	w0, w10, #5
	bl	_cpu_to_le16
	ldr	x8, [x22]
	smaddl	x8, w21, w23, x8
	stp	xzr, x0, [x8]
	mov	x0, x19
	bl	_mutex_unlock
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_IWL_DEBUG_MAC80211
Lloh11:
	adrp	x8, _EIO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
	str	x21, [sp]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x19
	bl	_IWL_DEBUG_MAC80211
	mov	w0, #0
LBB0_9:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.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"

	.no_dead_strip	_iwlagn_mac_conf_tx
.subsections_via_symbols
