	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_tx_queue_set_status     ## -- Begin function il4965_tx_queue_set_status
	.p2align	4, 0x90
_il4965_tx_queue_set_status:            ## @il4965_tx_queue_set_status
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rax
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rsi), %r15d
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_test_bit
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_IL49_SCD_QUEUE_STATUS_BITS
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	movq	_IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_IL49_SCD_QUEUE_STTS_REG_POS_TXF@GOTPCREL(%rip), %rdx
	movb	(%rdx), %dl
	movq	_IL49_SCD_QUEUE_STTS_REG_POS_WSL@GOTPCREL(%rip), %rsi
	movb	(%rsi), %r8b
	leaq	L_.str.2(%rip), %rbx
	leaq	L_.str.1(%rip), %r14
	cmoveq	%rbx, %r14
	movq	_IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK@GOTPCREL(%rip), %rbx
	shll	%cl, %edi
	movb	(%rbx), %r10b
	movl	%r13d, %esi
	movl	%edx, %ecx
	shll	%cl, %esi
	movq	_IL49_SCD_QUEUE_STTS_REG_MSK@GOTPCREL(%rip), %r9
	movl	%r12d, %ebx
	movl	%r8d, %ecx
	shll	%cl, %ebx
	orl	%edi, %esi
	movl	%r12d, %edx
	movl	%r10d, %ecx
	shll	%cl, %edx
	orl	%ebx, %edx
	orl	%esi, %edx
	orl	(%r9), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_il_wr_prph
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, (%rax)
	testl	%r12d, %r12d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movl	%r15d, %ecx
	movl	%r13d, %r8d
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_INFO                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE,4,2 ## @IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_TXF,4,2 ## @IL49_SCD_QUEUE_STTS_REG_POS_TXF
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_WSL,4,2 ## @IL49_SCD_QUEUE_STTS_REG_POS_WSL
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK,4,2 ## @IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK
	.comm	_IL49_SCD_QUEUE_STTS_REG_MSK,4,2 ## @IL49_SCD_QUEUE_STTS_REG_MSK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s Queue %d on AC %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Activate"

L_.str.2:                               ## @.str.2
	.asciz	"Deactivate"

L_.str.3:                               ## @.str.3
	.asciz	"BA"

L_.str.4:                               ## @.str.4
	.asciz	"AC"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il4965_tx_queue_set_status     ; -- Begin function il4965_tx_queue_set_status
	.p2align	2
_il4965_tx_queue_set_status:            ; @il4965_tx_queue_set_status
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w23, [x1, #4]
	mov	x0, x23
	mov	x1, x22
	bl	_test_bit
	mov	x24, x0
	mov	x0, x23
	bl	_IL49_SCD_QUEUE_STATUS_BITS
	mov	x1, x0
	cmp	x24, #0
	cset	w8, ne
Lloh0:
	adrp	x9, _IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _IL49_SCD_QUEUE_STTS_REG_POS_TXF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IL49_SCD_QUEUE_STTS_REG_POS_TXF@GOTPAGEOFF]
	lsl	w8, w8, w9
Lloh5:
	ldr	w9, [x10]
	lsl	w9, w19, w9
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _IL49_SCD_QUEUE_STTS_REG_POS_WSL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IL49_SCD_QUEUE_STTS_REG_POS_WSL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _IL49_SCD_QUEUE_STTS_REG_MSK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IL49_SCD_QUEUE_STTS_REG_MSK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh15:
	adrp	x8, l_.str.1@PAGE
Lloh16:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh17:
	adrp	x9, l_.str.2@PAGE
Lloh18:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x24, x9, x8, eq
	mov	x0, x22
	bl	_il_wr_prph
Lloh19:
	adrp	x8, l_.str.3@PAGE
Lloh20:
	add	x8, x8, l_.str.3@PAGEOFF
	str	w20, [x21]
Lloh21:
	adrp	x9, l_.str.4@PAGE
Lloh22:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w20, #0
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	csel	x2, x9, x8, eq
	mov	x1, x24
	mov	x3, x23
	mov	x4, 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	_D_INFO
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE,4,2 ; @IL49_SCD_QUEUE_STTS_REG_POS_ACTIVE
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_TXF,4,2 ; @IL49_SCD_QUEUE_STTS_REG_POS_TXF
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_WSL,4,2 ; @IL49_SCD_QUEUE_STTS_REG_POS_WSL
	.comm	_IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK,4,2 ; @IL49_SCD_QUEUE_STTS_REG_POS_SCD_ACK
	.comm	_IL49_SCD_QUEUE_STTS_REG_MSK,4,2 ; @IL49_SCD_QUEUE_STTS_REG_MSK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s Queue %d on AC %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Activate"

l_.str.2:                               ; @.str.2
	.asciz	"Deactivate"

l_.str.3:                               ; @.str.3
	.asciz	"BA"

l_.str.4:                               ; @.str.4
	.asciz	"AC"

.subsections_via_symbols
