	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ieee80211_if_parse_uapsd_max_sp_len
_ieee80211_if_parse_uapsd_max_sp_len:   ## @ieee80211_if_parse_uapsd_max_sp_len
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	leaq	-32(%rbp), %rdx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %r15d
	jmp	LBB0_5
LBB0_2:
	movq	-32(%rbp), %rax
	movq	_IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	notq	%rcx
	testq	%rcx, %rax
	je	LBB0_4
## %bb.3:
	movq	_ERANGE@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_4:
	movq	%rax, (%r14)
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK,8,3 ## @IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK
	.comm	_ERANGE,4,2                     ## @ERANGE
	.no_dead_strip	_ieee80211_if_parse_uapsd_max_sp_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ieee80211_if_parse_uapsd_max_sp_len
_ieee80211_if_parse_uapsd_max_sp_len:   ; @ieee80211_if_parse_uapsd_max_sp_len
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x1
	mov	w1, #0
	bl	_kstrtoul
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	ldr	x8, [sp, #8]
Lloh2:
	adrp	x9, _IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	bics	xzr, x8, x9
	b.eq	LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _ERANGE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERANGE@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	str	x8, [x20]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK,8,3 ; @IEEE80211_WMM_IE_STA_QOSINFO_SP_MASK
	.comm	_ERANGE,4,2                     ; @ERANGE
	.no_dead_strip	_ieee80211_if_parse_uapsd_max_sp_len
.subsections_via_symbols
