	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_convert_sta_flags
_brcmf_convert_sta_flags:               ## @brcmf_convert_sta_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	callq	_brcmf_dbg
	movq	_NL80211_STA_INFO_STA_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT_ULL
	orl	%eax, 8(%r14)
	movq	_NL80211_STA_FLAG_WME@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	_NL80211_STA_FLAG_AUTHENTICATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	%r12d, %ebx
	movq	_NL80211_STA_FLAG_ASSOCIATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%r12d, %eax
	orl	%ebx, %eax
	movl	%eax, (%r14)
	movq	_BRCMF_STA_WME@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	(%r13), %edi
	callq	_BIT
	orl	%eax, 4(%r14)
LBB0_2:
	movq	_BRCMF_STA_AUTHE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_NL80211_STA_FLAG_AUTHENTICATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, 4(%r14)
LBB0_4:
	movq	_BRCMF_STA_ASSOC@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_NL80211_STA_FLAG_ASSOCIATED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, 4(%r14)
LBB0_6:
	movq	_BRCMF_STA_AUTHO@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_NL80211_STA_FLAG_AUTHORIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, 4(%r14)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRACE,4,2                      ## @TRACE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"flags %08x\n"

	.comm	_NL80211_STA_INFO_STA_FLAGS,4,2 ## @NL80211_STA_INFO_STA_FLAGS
	.comm	_NL80211_STA_FLAG_WME,4,2       ## @NL80211_STA_FLAG_WME
	.comm	_NL80211_STA_FLAG_AUTHENTICATED,4,2 ## @NL80211_STA_FLAG_AUTHENTICATED
	.comm	_NL80211_STA_FLAG_ASSOCIATED,4,2 ## @NL80211_STA_FLAG_ASSOCIATED
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ## @NL80211_STA_FLAG_AUTHORIZED
	.comm	_BRCMF_STA_WME,4,2              ## @BRCMF_STA_WME
	.comm	_BRCMF_STA_AUTHE,4,2            ## @BRCMF_STA_AUTHE
	.comm	_BRCMF_STA_ASSOC,4,2            ## @BRCMF_STA_ASSOC
	.comm	_BRCMF_STA_AUTHO,4,2            ## @BRCMF_STA_AUTHO
	.no_dead_strip	_brcmf_convert_sta_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_convert_sta_flags
_brcmf_convert_sta_flags:               ; @brcmf_convert_sta_flags
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TRACE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRACE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_brcmf_dbg
Lloh5:
	adrp	x8, _NL80211_STA_INFO_STA_FLAGS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NL80211_STA_INFO_STA_FLAGS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_BIT_ULL
	ldr	w8, [x19, #8]
	orr	w8, w8, w0
	str	w8, [x19, #8]
Lloh8:
	adrp	x24, _NL80211_STA_FLAG_WME@GOTPAGE
Lloh9:
	ldr	x24, [x24, _NL80211_STA_FLAG_WME@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_BIT
	mov	x21, x0
Lloh10:
	adrp	x23, _NL80211_STA_FLAG_AUTHENTICATED@GOTPAGE
Lloh11:
	ldr	x23, [x23, _NL80211_STA_FLAG_AUTHENTICATED@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_BIT
	orr	w21, w0, w21
Lloh12:
	adrp	x22, _NL80211_STA_FLAG_ASSOCIATED@GOTPAGE
Lloh13:
	ldr	x22, [x22, _NL80211_STA_FLAG_ASSOCIATED@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_BIT
	orr	w25, w21, w0
Lloh14:
	adrp	x21, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGE
Lloh15:
	ldr	x21, [x21, _NL80211_STA_FLAG_AUTHORIZED@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_BIT
	orr	w8, w25, w0
	str	w8, [x19]
Lloh16:
	adrp	x8, _BRCMF_STA_WME@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BRCMF_STA_WME@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x24]
	bl	_BIT
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_2:
Lloh19:
	adrp	x8, _BRCMF_STA_AUTHE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BRCMF_STA_AUTHE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x23]
	bl	_BIT
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_4:
Lloh22:
	adrp	x8, _BRCMF_STA_ASSOC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _BRCMF_STA_ASSOC@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x22]
	bl	_BIT
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_6:
Lloh25:
	adrp	x8, _BRCMF_STA_AUTHO@GOTPAGE
Lloh26:
	ldr	x8, [x8, _BRCMF_STA_AUTHO@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x21]
	bl	_BIT
	ldr	w8, [x19, #4]
	orr	w8, w8, w0
	str	w8, [x19, #4]
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"flags %08x\n"

	.comm	_NL80211_STA_INFO_STA_FLAGS,4,2 ; @NL80211_STA_INFO_STA_FLAGS
	.comm	_NL80211_STA_FLAG_WME,4,2       ; @NL80211_STA_FLAG_WME
	.comm	_NL80211_STA_FLAG_AUTHENTICATED,4,2 ; @NL80211_STA_FLAG_AUTHENTICATED
	.comm	_NL80211_STA_FLAG_ASSOCIATED,4,2 ; @NL80211_STA_FLAG_ASSOCIATED
	.comm	_NL80211_STA_FLAG_AUTHORIZED,4,2 ; @NL80211_STA_FLAG_AUTHORIZED
	.comm	_BRCMF_STA_WME,4,2              ; @BRCMF_STA_WME
	.comm	_BRCMF_STA_AUTHE,4,2            ; @BRCMF_STA_AUTHE
	.comm	_BRCMF_STA_ASSOC,4,2            ; @BRCMF_STA_ASSOC
	.comm	_BRCMF_STA_AUTHO,4,2            ; @BRCMF_STA_AUTHO
	.no_dead_strip	_brcmf_convert_sta_flags
.subsections_via_symbols
