	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_parse_sta_wme
_nl80211_parse_sta_wme:                 ## @nl80211_parse_sta_wme
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_NL80211_STA_WME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	(%r12), %rax
	movq	_NL80211_ATTR_STA_WME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_12
## %bb.1:
	movq	_nl80211_sta_wme_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_nla_parse_nested
	testl	%eax, %eax
	jne	LBB0_12
## %bb.2:
	movq	_NL80211_STA_WME_UAPSD_QUEUES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	callq	_nla_get_u8
	movl	%eax, (%r14)
	jmp	LBB0_5
LBB0_3:
	movl	(%r14), %eax
LBB0_5:
	movq	_IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%ecx, %eax
	jne	LBB0_6
## %bb.7:
	movq	_NL80211_STA_WME_MAX_SP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.9:
	callq	_nla_get_u8
	movl	%eax, 4(%r14)
	jmp	LBB0_10
LBB0_8:
	movl	4(%r14), %eax
LBB0_10:
	movq	_IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_14
## %bb.13:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_STATION_PARAM_APPLY_UAPSD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r14)
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_STA_WME_MAX,4,2        ## @NL80211_STA_WME_MAX
	.comm	_NL80211_ATTR_STA_WME,8,3       ## @NL80211_ATTR_STA_WME
	.comm	_nl80211_sta_wme_policy,4,2     ## @nl80211_sta_wme_policy
	.comm	_NL80211_STA_WME_UAPSD_QUEUES,8,3 ## @NL80211_STA_WME_UAPSD_QUEUES
	.comm	_IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK,4,2 ## @IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_STA_WME_MAX_SP,8,3     ## @NL80211_STA_WME_MAX_SP
	.comm	_IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK,4,2 ## @IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK
	.comm	_STATION_PARAM_APPLY_UAPSD,4,2  ## @STATION_PARAM_APPLY_UAPSD
	.no_dead_strip	_nl80211_parse_sta_wme
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_parse_sta_wme
_nl80211_parse_sta_wme:                 ; @nl80211_parse_sta_wme
	.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
	sub	sp, sp, #16
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _NL80211_STA_WME_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NL80211_STA_WME_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x8, [x0]
Lloh8:
	adrp	x9, _NL80211_ATTR_STA_WME@GOTPAGE
Lloh9:
	ldr	x9, [x9, _NL80211_ATTR_STA_WME@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	ldr	x2, [x8, x9, lsl #3]
	cbz	x2, LBB0_4
; %bb.1:
Lloh11:
	adrp	x8, _nl80211_sta_wme_policy@GOTPAGE
Lloh12:
	ldr	x8, [x8, _nl80211_sta_wme_policy@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_nla_parse_nested
	cbnz	w0, LBB0_12
; %bb.2:
Lloh14:
	adrp	x8, _NL80211_STA_WME_UAPSD_QUEUES@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NL80211_STA_WME_UAPSD_QUEUES@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_nla_get_u8
	str	w0, [x19]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_12
LBB0_5:
	ldr	w0, [x19]
LBB0_6:
Lloh17:
	adrp	x8, _IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	bics	wzr, w0, w8
	b.ne	LBB0_11
; %bb.7:
Lloh20:
	adrp	x8, _NL80211_STA_WME_MAX_SP@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NL80211_STA_WME_MAX_SP@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_nla_get_u8
	str	w0, [x19, #4]
	b	LBB0_10
LBB0_9:
	ldr	w0, [x19, #4]
LBB0_10:
Lloh23:
	adrp	x8, _IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	bics	wzr, w0, w8
	b.eq	LBB0_14
LBB0_11:
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldur	x8, [x29, #-24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_14:
	mov	w0, #0
Lloh32:
	adrp	x8, _STATION_PARAM_APPLY_UAPSD@GOTPAGE
Lloh33:
	ldr	x8, [x8, _STATION_PARAM_APPLY_UAPSD@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	b	LBB0_12
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_STA_WME_MAX,4,2        ; @NL80211_STA_WME_MAX
	.comm	_NL80211_ATTR_STA_WME,8,3       ; @NL80211_ATTR_STA_WME
	.comm	_nl80211_sta_wme_policy,4,2     ; @nl80211_sta_wme_policy
	.comm	_NL80211_STA_WME_UAPSD_QUEUES,8,3 ; @NL80211_STA_WME_UAPSD_QUEUES
	.comm	_IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK,4,2 ; @IEEE80211_WMM_IE_STA_QOSINFO_AC_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_STA_WME_MAX_SP,8,3     ; @NL80211_STA_WME_MAX_SP
	.comm	_IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK,4,2 ; @IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK
	.comm	_STATION_PARAM_APPLY_UAPSD,4,2  ; @STATION_PARAM_APPLY_UAPSD
	.no_dead_strip	_nl80211_parse_sta_wme
.subsections_via_symbols
