	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_wmm_action             ## -- Begin function hostapd_wmm_action
	.p2align	4, 0x90
_hostapd_wmm_action:                    ## @hostapd_wmm_action
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_IEEE80211_HDRLEN@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	(%rsi), %esi
	callq	_ap_get_sta
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movl	(%rax), %eax
	movq	_WLAN_STA_ASSOC@GOTPCREL(%rip), %rcx
	movq	_WLAN_STA_WMM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%eax
	testl	%eax, %edx
	jne	LBB0_13
## %bb.2:
	movl	%r15d, %esi
	subl	%r12d, %esi
	addl	$-4, %esi
	js	LBB0_12
## %bb.3:
	leaq	(%rbx,%r12,4), %rdi
	addq	$16, %rdi
	leaq	-48(%rbp), %rdx
	movl	$1, %ecx
	callq	_ieee802_11_parse_elems
	movq	_ParseFailed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	(%rbx), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %r8
	jmp	LBB0_5
LBB0_13:
	movl	(%rbx), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hostapd_logger                 ## TAILCALL
LBB0_6:
	movq	-40(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.7:
	cmpl	$2, -48(%rbp)
	jne	LBB0_8
## %bb.9:
	movl	4(%rbx), %r9d
	cmpl	$130, %r9d
	jne	LBB0_11
## %bb.10:
	addq	$-2, %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rcx
	callq	_wmm_addts_req
	jmp	LBB0_12
LBB0_8:
	movl	(%rbx), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.2(%rip), %r8
LBB0_5:
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	(%rbx), %esi
	movq	_HOSTAPD_MODULE_IEEE80211@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.3(%rip), %r8
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_hostapd_logger
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_HDRLEN,8,3           ## @IEEE80211_HDRLEN
	.comm	_WLAN_STA_ASSOC,4,2             ## @WLAN_STA_ASSOC
	.comm	_WLAN_STA_WMM,4,2               ## @WLAN_STA_WMM
	.comm	_HOSTAPD_MODULE_IEEE80211,4,2   ## @HOSTAPD_MODULE_IEEE80211
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"wmm action received is not from associated wmm station"

	.comm	_ParseFailed,8,3                ## @ParseFailed
L_.str.1:                               ## @.str.1
	.asciz	"hostapd_wmm_action - could not parse wmm action"

L_.str.2:                               ## @.str.2
	.asciz	"hostapd_wmm_action - missing or wrong length tspec"

L_.str.3:                               ## @.str.3
	.asciz	"hostapd_wmm_action - unknown action code %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_wmm_action             ; -- Begin function hostapd_wmm_action
	.p2align	2
_hostapd_wmm_action:                    ; @hostapd_wmm_action
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _IEEE80211_HDRLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_HDRLEN@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	ldr	w1, [x1]
	bl	_ap_get_sta
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x0]
Lloh3:
	adrp	x9, _WLAN_STA_ASSOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WLAN_STA_ASSOC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _WLAN_STA_WMM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _WLAN_STA_WMM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bics	wzr, w9, w8
	b.ne	LBB0_5
; %bb.2:
	sub	w8, w21, w22
	sub	w1, w8, #4
	tbnz	w1, #31, LBB0_13
; %bb.3:
	add	x8, x20, x22, lsl #2
	add	x0, x8, #16
	add	x2, sp, #16
	mov	w3, #1
	bl	_ieee802_11_parse_elems
Lloh9:
	adrp	x8, _ParseFailed@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ParseFailed@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x4, l_.str.1@PAGE
Lloh19:
	add	x4, x4, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_5:
Lloh20:
	adrp	x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh21:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh25:
	adrp	x4, l_.str@PAGE
Lloh26:
	add	x4, x4, l_.str@PAGEOFF
Lloh27:
	ldr	w3, [x8]
	mov	x0, x19
	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
	add	sp, sp, #80
	b	_hostapd_logger
LBB0_6:
	ldr	x9, [sp, #24]
	cbz	x9, LBB0_10
; %bb.7:
	ldr	w8, [sp, #16]
	cmp	w8, #2
	b.ne	LBB0_10
; %bb.8:
	ldr	w8, [x20, #4]
	cmp	w8, #130
	b.ne	LBB0_11
; %bb.9:
	sub	x2, x9, #2
	mov	x0, x19
	mov	x1, x20
	mov	x3, x21
	bl	_wmm_addts_req
	b	LBB0_13
LBB0_10:
	ldr	w1, [x20]
Lloh28:
	adrp	x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh29:
	ldr	x8, [x8, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
Lloh31:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
Lloh34:
	adrp	x4, l_.str.2@PAGE
Lloh35:
	add	x4, x4, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
	ldr	w1, [x20]
Lloh36:
	adrp	x9, _HOSTAPD_MODULE_IEEE80211@GOTPAGE
Lloh37:
	ldr	x9, [x9, _HOSTAPD_MODULE_IEEE80211@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x9]
Lloh39:
	adrp	x9, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh40:
	ldr	x9, [x9, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x9]
Lloh42:
	adrp	x4, l_.str.3@PAGE
Lloh43:
	add	x4, x4, l_.str.3@PAGEOFF
	str	x8, [sp]
LBB0_12:
	mov	x0, x19
	bl	_hostapd_logger
LBB0_13:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh27
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_HDRLEN,8,3           ; @IEEE80211_HDRLEN
	.comm	_WLAN_STA_ASSOC,4,2             ; @WLAN_STA_ASSOC
	.comm	_WLAN_STA_WMM,4,2               ; @WLAN_STA_WMM
	.comm	_HOSTAPD_MODULE_IEEE80211,4,2   ; @HOSTAPD_MODULE_IEEE80211
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"wmm action received is not from associated wmm station"

	.comm	_ParseFailed,8,3                ; @ParseFailed
l_.str.1:                               ; @.str.1
	.asciz	"hostapd_wmm_action - could not parse wmm action"

l_.str.2:                               ; @.str.2
	.asciz	"hostapd_wmm_action - missing or wrong length tspec"

l_.str.3:                               ; @.str.3
	.asciz	"hostapd_wmm_action - unknown action code %d"

.subsections_via_symbols
