	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_txq_params
_parse_txq_params:                      ## @parse_txq_params
	.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	%rdi, %rbx
	movq	_NL80211_TXQ_ATTR_AC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	_NL80211_TXQ_ATTR_TXOP@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_6
## %bb.2:
	movq	_NL80211_TXQ_ATTR_CWMIN@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_6
## %bb.3:
	movq	_NL80211_TXQ_ATTR_CWMAX@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_6
## %bb.4:
	movq	_NL80211_TXQ_ATTR_AIFS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_6
## %bb.5:
	movq	%rsi, %r14
	callq	_nla_get_u8
	movq	%rax, (%r14)
	movq	(%r15), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u16
	movq	%rax, 32(%r14)
	movq	(%r13), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u16
	movq	%rax, 24(%r14)
	movq	(%r12), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u16
	movq	%rax, 16(%r14)
	movq	_NL80211_TXQ_ATTR_AIFS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u8
	movq	%rax, 8(%r14)
	movq	(%r14), %rcx
	movq	_NL80211_NUM_ACS@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jl	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_TXQ_ATTR_AC,8,3        ## @NL80211_TXQ_ATTR_AC
	.comm	_NL80211_TXQ_ATTR_TXOP,8,3      ## @NL80211_TXQ_ATTR_TXOP
	.comm	_NL80211_TXQ_ATTR_CWMIN,8,3     ## @NL80211_TXQ_ATTR_CWMIN
	.comm	_NL80211_TXQ_ATTR_CWMAX,8,3     ## @NL80211_TXQ_ATTR_CWMAX
	.comm	_NL80211_TXQ_ATTR_AIFS,8,3      ## @NL80211_TXQ_ATTR_AIFS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_NUM_ACS,8,3            ## @NL80211_NUM_ACS
	.no_dead_strip	_parse_txq_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_txq_params
_parse_txq_params:                      ; @parse_txq_params
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _NL80211_TXQ_ATTR_AC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_TXQ_ATTR_AC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x0, x8, lsl #3]
	cbz	x0, LBB0_7
; %bb.1:
Lloh3:
	adrp	x24, _NL80211_TXQ_ATTR_TXOP@GOTPAGE
Lloh4:
	ldr	x24, [x24, _NL80211_TXQ_ATTR_TXOP@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_7
; %bb.2:
Lloh5:
	adrp	x23, _NL80211_TXQ_ATTR_CWMIN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NL80211_TXQ_ATTR_CWMIN@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_7
; %bb.3:
Lloh7:
	adrp	x22, _NL80211_TXQ_ATTR_CWMAX@GOTPAGE
Lloh8:
	ldr	x22, [x22, _NL80211_TXQ_ATTR_CWMAX@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_7
; %bb.4:
Lloh9:
	adrp	x21, _NL80211_TXQ_ATTR_AIFS@GOTPAGE
Lloh10:
	ldr	x21, [x21, _NL80211_TXQ_ATTR_AIFS@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_7
; %bb.5:
	mov	x19, x1
	bl	_nla_get_u8
	str	x0, [x19]
	ldr	x8, [x24]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u16
	str	x0, [x19, #32]
	ldr	x8, [x23]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u16
	str	x0, [x19, #24]
	ldr	x8, [x22]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u16
	str	x0, [x19, #16]
	ldr	x8, [x21]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u8
	str	x0, [x19, #8]
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _NL80211_NUM_ACS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _NL80211_NUM_ACS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_TXQ_ATTR_AC,8,3        ; @NL80211_TXQ_ATTR_AC
	.comm	_NL80211_TXQ_ATTR_TXOP,8,3      ; @NL80211_TXQ_ATTR_TXOP
	.comm	_NL80211_TXQ_ATTR_CWMIN,8,3     ; @NL80211_TXQ_ATTR_CWMIN
	.comm	_NL80211_TXQ_ATTR_CWMAX,8,3     ; @NL80211_TXQ_ATTR_CWMAX
	.comm	_NL80211_TXQ_ATTR_AIFS,8,3      ; @NL80211_TXQ_ATTR_AIFS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_NUM_ACS,8,3            ; @NL80211_NUM_ACS
	.no_dead_strip	_parse_txq_params
.subsections_via_symbols
