	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wmm_ac_process_param_elem
_wmm_ac_process_param_elem:             ## @wmm_ac_process_param_elem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdi
	leaq	-32(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdx
	movl	$1, %ecx
	callq	_ieee802_11_parse_elems
	movq	_ParseFailed@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	-24(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.5:
	cmpl	$8, -32(%rbp)
	jne	LBB0_6
## %bb.7:
	movl	$8, %edi
	callq	_os_zalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %r14
	movq	_WMM_AC_NUM@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_10
## %bb.11:
	movq	(%rbx), %rdx
	movq	(%r14), %rax
	xorl	%esi, %esi
	movq	_WMM_AC_ACM@GOTPCREL(%rip), %rdi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %ebx
	xorl	%ecx, %ecx
	andl	(%rdx,%rsi,4), %ebx
	setne	%cl
	movl	%ecx, (%rax,%rsi,4)
	incq	%rsi
	movslq	(%r8), %rcx
	cmpq	%rcx, %rsi
	jl	LBB0_12
	jmp	LBB0_13
LBB0_4:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_2:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_14:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_10:
	movq	(%r14), %rax
LBB0_13:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_WMM_AC_BE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edx
	movq	_WMM_AC_BK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	_WMM_AC_VI@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rax,%rsi,4), %r8d
	movq	_WMM_AC_VO@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rax,%rsi,4), %r9d
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_ParseFailed,8,3                ## @ParseFailed
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WMM AC: could not parse assoc ies"

L_.str.1:                               ## @.str.1
	.asciz	"WMM AC: No WMM IE"

L_.str.2:                               ## @.str.2
	.asciz	"WMM AC: Invalid WMM ie length"

	.comm	_WMM_AC_NUM,4,2                 ## @WMM_AC_NUM
	.comm	_WMM_AC_ACM,4,2                 ## @WMM_AC_ACM
L_.str.3:                               ## @.str.3
	.asciz	"WMM AC: AC mandatory: AC_BE=%u AC_BK=%u AC_VI=%u AC_VO=%u"

	.comm	_WMM_AC_BE,8,3                  ## @WMM_AC_BE
	.comm	_WMM_AC_BK,8,3                  ## @WMM_AC_BK
	.comm	_WMM_AC_VI,8,3                  ## @WMM_AC_VI
	.comm	_WMM_AC_VO,8,3                  ## @WMM_AC_VO
	.no_dead_strip	_wmm_ac_process_param_elem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wmm_ac_process_param_elem
_wmm_ac_process_param_elem:             ; @wmm_ac_process_param_elem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x8, x2
	mov	x0, x1
	add	x2, sp, #32
	mov	x1, x8
	mov	w3, #1
	bl	_ieee802_11_parse_elems
Lloh0:
	adrp	x8, _ParseFailed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ParseFailed@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_2:
	ldr	x20, [sp, #40]
	cbz	x20, LBB0_8
; %bb.3:
	ldr	w8, [sp, #32]
	cmp	w8, #8
	b.ne	LBB0_9
; %bb.4:
	mov	w0, #8
	bl	_os_zalloc
	mov	x19, x0
	cbz	x0, LBB0_11
; %bb.5:
Lloh8:
	adrp	x9, _WMM_AC_NUM@GOTPAGE
Lloh9:
	ldr	x9, [x9, _WMM_AC_NUM@GOTPAGEOFF]
	ldr	w8, [x9]
	cmp	w8, #0
	b.le	LBB0_12
; %bb.6:
	mov	x10, #0
	ldr	x11, [x20]
	ldr	x8, [x19]
Lloh10:
	adrp	x12, _WMM_AC_ACM@GOTPAGE
Lloh11:
	ldr	x12, [x12, _WMM_AC_ACM@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x13, x10, #2
	ldr	w14, [x11, x13]
	ldr	w15, [x12]
	tst	w15, w14
	cset	w14, ne
	str	w14, [x8, x13]
	add	x10, x10, #1
	ldrsw	x13, [x9]
	cmp	x10, x13
	b.lt	LBB0_7
	b	LBB0_13
LBB0_8:
Lloh12:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh17:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	bl	_wpa_printf
	mov	x19, #0
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_12:
	ldr	x8, [x19]
LBB0_13:
Lloh22:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x9]
Lloh25:
	adrp	x9, _WMM_AC_BE@GOTPAGE
Lloh26:
	ldr	x9, [x9, _WMM_AC_BE@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
Lloh28:
	adrp	x10, _WMM_AC_BK@GOTPAGE
Lloh29:
	ldr	x10, [x10, _WMM_AC_BK@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
Lloh31:
	adrp	x11, _WMM_AC_VI@GOTPAGE
Lloh32:
	ldr	x11, [x11, _WMM_AC_VI@GOTPAGEOFF]
Lloh33:
	ldr	x11, [x11]
Lloh34:
	adrp	x12, _WMM_AC_VO@GOTPAGE
Lloh35:
	ldr	x12, [x12, _WMM_AC_VO@GOTPAGEOFF]
Lloh36:
	ldr	x12, [x12]
	ldr	w9, [x8, x9, lsl #2]
	ldr	w10, [x8, x10, lsl #2]
	ldr	w11, [x8, x11, lsl #2]
	ldr	w8, [x8, x12, lsl #2]
	stp	x11, x8, [sp, #16]
	stp	x9, x10, [sp]
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_wpa_printf
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_ParseFailed,8,3                ; @ParseFailed
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WMM AC: could not parse assoc ies"

l_.str.1:                               ; @.str.1
	.asciz	"WMM AC: No WMM IE"

l_.str.2:                               ; @.str.2
	.asciz	"WMM AC: Invalid WMM ie length"

	.comm	_WMM_AC_NUM,4,2                 ; @WMM_AC_NUM
	.comm	_WMM_AC_ACM,4,2                 ; @WMM_AC_ACM
l_.str.3:                               ; @.str.3
	.asciz	"WMM AC: AC mandatory: AC_BE=%u AC_BK=%u AC_VI=%u AC_VO=%u"

	.comm	_WMM_AC_BE,8,3                  ; @WMM_AC_BE
	.comm	_WMM_AC_BK,8,3                  ; @WMM_AC_BK
	.comm	_WMM_AC_VI,8,3                  ; @WMM_AC_VI
	.comm	_WMM_AC_VO,8,3                  ; @WMM_AC_VO
	.no_dead_strip	_wmm_ac_process_param_elem
.subsections_via_symbols
