	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_station_flags
_parse_station_flags:                   ## @parse_station_flags
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_NL80211_STA_FLAG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leal	1(%r15), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r8
	movq	(%rbx), %rax
	movq	_NL80211_ATTR_STA_FLAGS2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_nla_data
	movl	(%rax), %ebx
	movl	%ebx, (%r14)
	movl	4(%rax), %eax
	andl	%ebx, %eax
	movl	%eax, 4(%r14)
	movq	___NL80211_STA_FLAG_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%r13d, %r13d
	subl	(%rcx), %r13d
	andl	%ebx, %eax
	testl	%eax, %eax
	cmovel	%eax, %r13d
	jmp	LBB0_16
LBB0_2:
	movq	_NL80211_ATTR_STA_FLAGS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdx
	xorl	%r13d, %r13d
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.3:
	movq	_sta_flags_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r8, %rdi
	movl	%r15d, %esi
	movq	%r8, %rbx
	callq	_nla_parse_nested
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	movl	%r13d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	addl	$-128, %r12d
	cmpl	$5, %r12d
	ja	LBB0_4
## %bb.6:
	movl	$50, %eax
	btl	%r12d, %eax
	jae	LBB0_7
## %bb.10:
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r15d
	movq	_NL80211_STA_FLAG_SHORT_PREAMBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_NL80211_STA_FLAG_WME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
	orl	%ebx, %r12d
	movq	_NL80211_STA_FLAG_MFP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_7:
	movl	$5, %eax
	btl	%r12d, %eax
	jae	LBB0_9
## %bb.8:
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_NL80211_STA_FLAG_TDLS_PEER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
LBB0_11:
	orl	%r12d, %ebx
	movl	%ebx, (%r14)
	movq	_NL80211_STA_FLAG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_16
## %bb.12:
	movq	_NL80211_STA_FLAG_MAX_OLD_API@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	incq	%rax
	movl	$1, %ecx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	je	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdi,%rcx,8)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %esi
	shll	%cl, %esi
	orl	%esi, 4(%r14)
	cmpq	%rdx, %rcx
	jle	LBB0_15
	jmp	LBB0_4
LBB0_9:
	movq	_NL80211_STA_FLAG_AUTHENTICATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r15d
	movq	_NL80211_STA_FLAG_MFP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%ebx, %eax
	movl	%eax, (%r14)
	jmp	LBB0_4
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_STA_FLAG_MAX,4,2       ## @NL80211_STA_FLAG_MAX
	.comm	_NL80211_ATTR_STA_FLAGS2,8,3    ## @NL80211_ATTR_STA_FLAGS2
	.comm	___NL80211_STA_FLAG_INVALID,4,2 ## @__NL80211_STA_FLAG_INVALID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NL80211_ATTR_STA_FLAGS,8,3     ## @NL80211_ATTR_STA_FLAGS
	.comm	_sta_flags_policy,4,2           ## @sta_flags_policy
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ## @NL80211_STA_FLAG_AUTHORIZED
	.comm	_NL80211_STA_FLAG_SHORT_PREAMBLE,4,2 ## @NL80211_STA_FLAG_SHORT_PREAMBLE
	.comm	_NL80211_STA_FLAG_WME,4,2       ## @NL80211_STA_FLAG_WME
	.comm	_NL80211_STA_FLAG_MFP,4,2       ## @NL80211_STA_FLAG_MFP
	.comm	_NL80211_STA_FLAG_TDLS_PEER,4,2 ## @NL80211_STA_FLAG_TDLS_PEER
	.comm	_NL80211_STA_FLAG_AUTHENTICATED,4,2 ## @NL80211_STA_FLAG_AUTHENTICATED
	.comm	_NL80211_STA_FLAG_MAX_OLD_API,4,2 ## @NL80211_STA_FLAG_MAX_OLD_API
	.no_dead_strip	_parse_station_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_station_flags
_parse_station_flags:                   ; @parse_station_flags
	.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
	sub	sp, sp, #16
	mov	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _NL80211_STA_FLAG_MAX@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NL80211_STA_FLAG_MAX@GOTPAGEOFF]
	ldr	w1, [x23]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	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]
Lloh7:
	adrp	x9, _NL80211_ATTR_STA_FLAGS2@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NL80211_ATTR_STA_FLAGS2@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_nla_data
	ldp	w20, w8, [x0]
	and	w8, w8, w20
	stp	w20, w8, [x19]
Lloh10:
	adrp	x8, ___NL80211_STA_FLAG_INVALID@GOTPAGE
Lloh11:
	ldr	x8, [x8, ___NL80211_STA_FLAG_INVALID@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_BIT
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w0, w20
	csneg	w0, wzr, w8, eq
	b	LBB0_16
LBB0_2:
Lloh16:
	adrp	x9, _NL80211_ATTR_STA_FLAGS@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NL80211_ATTR_STA_FLAGS@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	x2, [x8, x9, lsl #3]
	cbz	x2, LBB0_15
; %bb.3:
Lloh19:
	adrp	x8, _sta_flags_policy@GOTPAGE
Lloh20:
	ldr	x8, [x8, _sta_flags_policy@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_nla_parse_nested
	cbz	x0, LBB0_5
LBB0_4:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_5:
	sub	w8, w21, #128
	cmp	w8, #5
	b.hi	LBB0_4
; %bb.6:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #50
	tst	w8, w9
	b.eq	LBB0_8
; %bb.7:
Lloh25:
	adrp	x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGE
Lloh26:
	ldr	x8, [x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_BIT
	mov	x21, x0
Lloh28:
	adrp	x8, _NL80211_STA_FLAG_SHORT_PREAMBLE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _NL80211_STA_FLAG_SHORT_PREAMBLE@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_BIT
	orr	w21, w0, w21
Lloh31:
	adrp	x8, _NL80211_STA_FLAG_WME@GOTPAGE
Lloh32:
	ldr	x8, [x8, _NL80211_STA_FLAG_WME@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_BIT
	orr	w22, w21, w0
Lloh34:
	adrp	x8, _NL80211_STA_FLAG_MFP@GOTPAGE
Lloh35:
	ldr	x8, [x8, _NL80211_STA_FLAG_MFP@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	bl	_BIT
	mov	x21, x0
	b	LBB0_10
LBB0_8:
	mov	w9, #5
	tst	w8, w9
	b.eq	LBB0_18
; %bb.9:
Lloh37:
	adrp	x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_BIT
	mov	x21, x0
Lloh40:
	adrp	x8, _NL80211_STA_FLAG_TDLS_PEER@GOTPAGE
Lloh41:
	ldr	x8, [x8, _NL80211_STA_FLAG_TDLS_PEER@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
LBB0_10:
	orr	w8, w22, w21
	str	w8, [x19]
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_15
; %bb.11:
Lloh43:
	adrp	x8, _NL80211_STA_FLAG_MAX_OLD_API@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NL80211_STA_FLAG_MAX_OLD_API@GOTPAGEOFF]
Lloh45:
	ldrsw	x8, [x8]
	add	x9, x9, #1
	mov	w10, #1
	mov	w11, #1
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #0
	add	x11, x11, #1
	cmp	x9, x11
	b.eq	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x20, x11, lsl #3]
	cbz	x12, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	lsl	w12, w10, w11
	ldr	w13, [x19, #4]
	orr	w12, w13, w12
	str	w12, [x19, #4]
	cmp	x11, x8
	b.le	LBB0_12
	b	LBB0_4
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldur	x8, [x29, #-56]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.17:
	sub	sp, x29, #48
	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
LBB0_18:
Lloh49:
	adrp	x8, _NL80211_STA_FLAG_AUTHENTICATED@GOTPAGE
Lloh50:
	ldr	x8, [x8, _NL80211_STA_FLAG_AUTHENTICATED@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	bl	_BIT
	mov	x20, x0
Lloh52:
	adrp	x8, _NL80211_STA_FLAG_MFP@GOTPAGE
Lloh53:
	ldr	x8, [x8, _NL80211_STA_FLAG_MFP@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_BIT
	orr	w20, w0, w20
Lloh55:
	adrp	x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGE
Lloh56:
	ldr	x8, [x8, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	bl	_BIT
	orr	w8, w20, w0
	str	w8, [x19]
	b	LBB0_4
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_STA_FLAG_MAX,4,2       ; @NL80211_STA_FLAG_MAX
	.comm	_NL80211_ATTR_STA_FLAGS2,8,3    ; @NL80211_ATTR_STA_FLAGS2
	.comm	___NL80211_STA_FLAG_INVALID,4,2 ; @__NL80211_STA_FLAG_INVALID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NL80211_ATTR_STA_FLAGS,8,3     ; @NL80211_ATTR_STA_FLAGS
	.comm	_sta_flags_policy,4,2           ; @sta_flags_policy
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ; @NL80211_STA_FLAG_AUTHORIZED
	.comm	_NL80211_STA_FLAG_SHORT_PREAMBLE,4,2 ; @NL80211_STA_FLAG_SHORT_PREAMBLE
	.comm	_NL80211_STA_FLAG_WME,4,2       ; @NL80211_STA_FLAG_WME
	.comm	_NL80211_STA_FLAG_MFP,4,2       ; @NL80211_STA_FLAG_MFP
	.comm	_NL80211_STA_FLAG_TDLS_PEER,4,2 ; @NL80211_STA_FLAG_TDLS_PEER
	.comm	_NL80211_STA_FLAG_AUTHENTICATED,4,2 ; @NL80211_STA_FLAG_AUTHENTICATED
	.comm	_NL80211_STA_FLAG_MAX_OLD_API,4,2 ; @NL80211_STA_FLAG_MAX_OLD_API
	.no_dead_strip	_parse_station_flags
.subsections_via_symbols
