	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_wmm
_check_wmm:                             ## @check_wmm
	.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	_WLAN_STA_WMM@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, 8(%rsi)
	movq	$0, (%rsi)
	movq	_WLAN_STATUS_SUCCESS@GOTPCREL(%rip), %r12
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	%rsi, %rbx
	movq	%rdx, %r15
	movq	%r14, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_hostapd_eid_wmm_valid
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	(%r13), %eax
	orl	%eax, 8(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_5
LBB0_4:
	movl	12(%rbx), %esi
	movq	_HOSTAPD_MODULE_WPA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_HOSTAPD_LEVEL_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %r8
	movq	%r14, %rdi
	callq	_hostapd_logger
	movq	_WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPCREL(%rip), %r12
LBB0_5:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WLAN_STA_WMM,4,2               ## @WLAN_STA_WMM
	.comm	_HOSTAPD_MODULE_WPA,4,2         ## @HOSTAPD_MODULE_WPA
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ## @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid WMM element in association request"

	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ## @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_STATUS_SUCCESS,4,2        ## @WLAN_STATUS_SUCCESS
	.no_dead_strip	_check_wmm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_wmm
_check_wmm:                             ; @check_wmm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x22, _WLAN_STA_WMM@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WLAN_STA_WMM@GOTPAGEOFF]
	ldr	w8, [x22]
	ldr	w9, [x1, #8]
	bic	w8, w9, w8
	str	w8, [x1, #8]
	str	xzr, [x1]
	cbz	x2, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x21, x2
	mov	x19, x1
	mov	x0, x20
	mov	x1, x2
	mov	x2, x3
	bl	_hostapd_eid_wmm_valid
	cbz	w0, LBB0_6
; %bb.3:
	ldr	w8, [x22]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	ldr	x8, [x21]
	str	x8, [x19]
LBB0_4:
Lloh2:
	adrp	x8, _WLAN_STATUS_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WLAN_STATUS_SUCCESS@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w1, [x19, #12]
Lloh4:
	adrp	x8, _HOSTAPD_MODULE_WPA@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HOSTAPD_MODULE_WPA@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
Lloh7:
	adrp	x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HOSTAPD_LEVEL_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
Lloh10:
	adrp	x4, l_.str@PAGE
Lloh11:
	add	x4, x4, l_.str@PAGEOFF
	mov	x0, x20
	bl	_hostapd_logger
Lloh12:
	adrp	x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WLAN_STATUS_UNSPECIFIED_FAILURE@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_WLAN_STA_WMM,4,2               ; @WLAN_STA_WMM
	.comm	_HOSTAPD_MODULE_WPA,4,2         ; @HOSTAPD_MODULE_WPA
	.comm	_HOSTAPD_LEVEL_DEBUG,4,2        ; @HOSTAPD_LEVEL_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid WMM element in association request"

	.comm	_WLAN_STATUS_UNSPECIFIED_FAILURE,4,2 ; @WLAN_STATUS_UNSPECIFIED_FAILURE
	.comm	_WLAN_STATUS_SUCCESS,4,2        ; @WLAN_STATUS_SUCCESS
	.no_dead_strip	_check_wmm
.subsections_via_symbols
