	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_wmm_ac_delts              ## -- Begin function wpas_wmm_ac_delts
	.p2align	4, 0x90
_wpas_wmm_ac_delts:                     ## @wpas_wmm_ac_delts
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	leaq	-20(%rbp), %rdx
	callq	_wmm_ac_find_tsid
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	8(%rbx), %rcx
	movl	%eax, %edx
	movq	(%rcx,%rdx,8), %rcx
	movl	-20(%rbp), %edx
	movq	(%rcx,%rdx,8), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -16(%rbp)
	movq	%rbx, %rdi
	movl	%eax, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_wmm_ac_del_ts_idx
	movl	(%rbx), %edx
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_wmm_ac_send_delts
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WMM AC: Failed to delete TS, WMM AC is disabled"

L_.str.1:                               ## @.str.1
	.asciz	"WMM AC: TS does not exist"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_wmm_ac_delts              ; -- Begin function wpas_wmm_ac_delts
	.p2align	2
_wpas_wmm_ac_delts:                     ; @wpas_wmm_ac_delts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x2, sp, #4
	bl	_wmm_ac_find_tsid
	tbnz	w0, #31, LBB0_4
; %bb.2:
	mov	x1, x0
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w0, uxtw #3]
	ldr	w2, [sp, #4]
	ldr	x8, [x8, x2, lsl #3]
	ldr	w8, [x8]
	str	w8, [sp, #8]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_wmm_ac_del_ts_idx
	ldr	w2, [x19]
	add	x1, sp, #8
	mov	x0, x19
	bl	_wmm_ac_send_delts
	mov	w0, #0
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	bl	_wpa_printf
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WMM AC: Failed to delete TS, WMM AC is disabled"

l_.str.1:                               ; @.str.1
	.asciz	"WMM AC: TS does not exist"

.subsections_via_symbols
