	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_pno_set_random
_brcmf_pno_set_random:                  ## @brcmf_pno_set_random
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	8(%rsi), %rcx
	movq	_NL80211_SCAN_FLAG_RANDOM_ADDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	testl	%edx, (%rdi)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	jne	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	callq	_brcmf_pno_set_random.cold.1
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function brcmf_pno_set_random.cold.1
_brcmf_pno_set_random.cold.1:           ## @brcmf_pno_set_random.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_memcpy
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_SCAN_FLAG_RANDOM_ADDR,4,2 ## @NL80211_SCAN_FLAG_RANDOM_ADDR
	.comm	_BRCMF_PFN_MACADDR_CFG_VER,4,2  ## @BRCMF_PFN_MACADDR_CFG_VER
	.comm	_BRCMF_PFN_MAC_OUI_ONLY,4,2     ## @BRCMF_PFN_MAC_OUI_ONLY
	.comm	_BRCMF_PFN_SET_MAC_UNASSOC,4,2  ## @BRCMF_PFN_SET_MAC_UNASSOC
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_SCAN,4,2                       ## @SCAN
	.no_dead_strip	_brcmf_pno_set_random
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_pno_set_random
_brcmf_pno_set_random:                  ; @brcmf_pno_set_random
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x9, [x1, #8]
Lloh0:
	adrp	x10, _NL80211_SCAN_FLAG_RANDOM_ADDR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NL80211_SCAN_FLAG_RANDOM_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9]
	ldr	w12, [x11]
	tst	w10, w12
	b.ne	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	ldr	x0, [x11, #8]
	cbnz	x0, LBB0_6
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	_brcmf_pno_set_random.cold.1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function brcmf_pno_set_random.cold.1
_brcmf_pno_set_random.cold.1:           ; @brcmf_pno_set_random.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_memcpy
	brk	#0x1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_SCAN_FLAG_RANDOM_ADDR,4,2 ; @NL80211_SCAN_FLAG_RANDOM_ADDR
	.comm	_BRCMF_PFN_MACADDR_CFG_VER,4,2  ; @BRCMF_PFN_MACADDR_CFG_VER
	.comm	_BRCMF_PFN_MAC_OUI_ONLY,4,2     ; @BRCMF_PFN_MAC_OUI_ONLY
	.comm	_BRCMF_PFN_SET_MAC_UNASSOC,4,2  ; @BRCMF_PFN_SET_MAC_UNASSOC
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_SCAN,4,2                       ; @SCAN
	.no_dead_strip	_brcmf_pno_set_random
.subsections_via_symbols
