	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_ioctl_getwmeparam
_ieee80211_ioctl_getwmeparam:           ## @ieee80211_ioctl_getwmeparam
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %r9
	movq	_IEEE80211_C_WME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r9)
	je	LBB0_6
## %bb.1:
	movq	_IEEE80211_WMEPARAM_VAL@GOTPCREL(%rip), %rcx
	movl	(%rsi), %eax
	movl	4(%rsi), %edx
	movl	(%rcx), %edi
	andl	%eax, %edi
	movq	_WME_NUM_AC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edi
	jl	LBB0_3
## %bb.2:
	movq	_WME_AC_BE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
LBB0_3:
	movq	_IEEE80211_WMEPARAM_BSS@GOTPCREL(%rip), %r8
	xorl	%ecx, %ecx
	testl	%eax, (%r8)
	setne	%r8b
	xorl	%eax, %eax
	addl	$-128, %edx
	cmpl	$5, %edx
	ja	LBB0_13
## %bb.4:
	movb	%r8b, %cl
	movq	8(%r9,%rcx,8), %r8
	movslq	%edi, %rdi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_5:
	leaq	(%rdi,%rdi,2), %rcx
	movl	12(%r8,%rcx,8), %ecx
	jmp	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	leaq	(%rdi,%rdi,2), %rcx
	movl	(%r8,%rcx,8), %ecx
	jmp	LBB0_8
LBB0_9:
	leaq	(%rdi,%rdi,2), %rcx
	movl	4(%r8,%rcx,8), %ecx
	jmp	LBB0_8
LBB0_10:
	leaq	(%rdi,%rdi,2), %rcx
	movl	8(%r8,%rcx,8), %ecx
	jmp	LBB0_8
LBB0_11:
	movq	16(%r9), %rcx
	leaq	(%rdi,%rdi,2), %rdx
	movl	16(%rcx,%rdx,8), %ecx
LBB0_8:
	movl	%ecx, 8(%rsi)
	popq	%rbp
	retq
LBB0_12:
	movq	8(%r9), %rcx
	leaq	(%rdi,%rdi,2), %rdx
	xorl	%edi, %edi
	cmpl	$0, 20(%rcx,%rdx,8)
	sete	%dil
	movl	%edi, 8(%rsi)
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_IEEE80211_C_WME,4,2            ## @IEEE80211_C_WME
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE80211_WMEPARAM_VAL,4,2     ## @IEEE80211_WMEPARAM_VAL
	.comm	_WME_NUM_AC,4,2                 ## @WME_NUM_AC
	.comm	_WME_AC_BE,4,2                  ## @WME_AC_BE
	.comm	_IEEE80211_WMEPARAM_BSS,4,2     ## @IEEE80211_WMEPARAM_BSS
	.no_dead_strip	_ieee80211_ioctl_getwmeparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_ioctl_getwmeparam
_ieee80211_ioctl_getwmeparam:           ; @ieee80211_ioctl_getwmeparam
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _IEEE80211_C_WME@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IEEE80211_C_WME@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _IEEE80211_WMEPARAM_VAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_WMEPARAM_VAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	w10, w11, [x1]
	and	w9, w9, w10
Lloh6:
	adrp	x12, _WME_NUM_AC@GOTPAGE
Lloh7:
	ldr	x12, [x12, _WME_NUM_AC@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
Lloh9:
	adrp	x13, _WME_AC_BE@GOTPAGE
Lloh10:
	ldr	x13, [x13, _WME_AC_BE@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
	cmp	w9, w12
	csel	w9, w9, w13, lt
Lloh12:
	adrp	x12, _IEEE80211_WMEPARAM_BSS@GOTPAGE
Lloh13:
	ldr	x12, [x12, _IEEE80211_WMEPARAM_BSS@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	tst	w12, w10
	mov	w10, #16
	mov	w12, #8
	csel	x10, x12, x10, eq
	sub	w11, w11, #128
	cmp	w11, #5
	b.hi	LBB0_10
; %bb.2:
	ldr	x10, [x8, x10]
	sxtw	x9, w9
Lloh15:
	adrp	x12, lJTI0_0@PAGE
Lloh16:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x13, LBB0_3
	ldrb	w14, [x12, x11]
	add	x13, x13, x14, lsl #2
	br	x13
LBB0_3:
	mov	w0, #0
	mov	w8, #24
	madd	x8, x9, x8, x10
	ldr	w8, [x8, #12]
	str	w8, [x1, #8]
	ret
LBB0_4:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ret
LBB0_5:
	mov	w0, #0
	mov	w8, #24
	mul	x8, x9, x8
	ldr	w8, [x10, x8]
	str	w8, [x1, #8]
	ret
LBB0_6:
	mov	w0, #0
	mov	w8, #24
	madd	x8, x9, x8, x10
	ldr	w8, [x8, #4]
	str	w8, [x1, #8]
	ret
LBB0_7:
	mov	w0, #0
	mov	w8, #24
	madd	x8, x9, x8, x10
	ldr	w8, [x8, #8]
	str	w8, [x1, #8]
	ret
LBB0_8:
	mov	w0, #0
	ldr	x8, [x8, #16]
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	w8, [x8, #16]
	str	w8, [x1, #8]
	ret
LBB0_9:
	mov	w0, #0
	ldr	x8, [x8, #8]
	mov	w10, #24
	madd	x8, x9, x10, x8
	ldr	w8, [x8, #20]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x1, #8]
	ret
LBB0_10:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
                                        ; -- End function
	.comm	_IEEE80211_C_WME,4,2            ; @IEEE80211_C_WME
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE80211_WMEPARAM_VAL,4,2     ; @IEEE80211_WMEPARAM_VAL
	.comm	_WME_NUM_AC,4,2                 ; @WME_NUM_AC
	.comm	_WME_AC_BE,4,2                  ; @WME_AC_BE
	.comm	_IEEE80211_WMEPARAM_BSS,4,2     ; @IEEE80211_WMEPARAM_BSS
	.no_dead_strip	_ieee80211_ioctl_getwmeparam
.subsections_via_symbols
