	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il_update_qos
_il_update_qos:                         ## @il_update_qos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_S_EXIT_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movl	$0, (%rbx)
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.3:
	movq	_QOS_PARAM_FLG_UPDATE_EDCA_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, (%rbx)
	cmpq	$0, 16(%rbx)
	je	LBB0_6
LBB0_5:
	movq	_QOS_PARAM_FLG_TGN_MSK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%rbx)
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_D_QOS
	movq	_C_QOS_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_il_send_cmd_pdu_async          ## TAILCALL
LBB0_2:
	xorl	%edx, %edx
	cmpq	$0, 16(%rbx)
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_S_EXIT_PENDING,4,2             ## @S_EXIT_PENDING
	.comm	_QOS_PARAM_FLG_UPDATE_EDCA_MSK,4,2 ## @QOS_PARAM_FLG_UPDATE_EDCA_MSK
	.comm	_QOS_PARAM_FLG_TGN_MSK,4,2      ## @QOS_PARAM_FLG_TGN_MSK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"send QoS cmd with Qos active=%d FLAGS=0x%X\n"

	.comm	_C_QOS_PARAM,4,2                ## @C_QOS_PARAM
	.no_dead_strip	_il_update_qos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il_update_qos
_il_update_qos:                         ; @il_update_qos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _S_EXIT_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_EXIT_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #24
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	str	wzr, [x19]
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _QOS_PARAM_FLG_UPDATE_EDCA_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QOS_PARAM_FLG_UPDATE_EDCA_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	str	w2, [x19]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _QOS_PARAM_FLG_TGN_MSK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QOS_PARAM_FLG_TGN_MSK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w2, w2, w8
	str	w2, [x19]
LBB0_5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_QOS
Lloh11:
	adrp	x8, _C_QOS_PARAM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _C_QOS_PARAM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #4
	mov	x3, x19
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_il_send_cmd_pdu_async
LBB0_6:
	mov	w2, #0
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_S_EXIT_PENDING,4,2             ; @S_EXIT_PENDING
	.comm	_QOS_PARAM_FLG_UPDATE_EDCA_MSK,4,2 ; @QOS_PARAM_FLG_UPDATE_EDCA_MSK
	.comm	_QOS_PARAM_FLG_TGN_MSK,4,2      ; @QOS_PARAM_FLG_TGN_MSK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"send QoS cmd with Qos active=%d FLAGS=0x%X\n"

	.comm	_C_QOS_PARAM,4,2                ; @C_QOS_PARAM
	.no_dead_strip	_il_update_qos
.subsections_via_symbols
