	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_p2p_generate_bss_mac
_brcmf_p2p_generate_bss_mac:            ## @brcmf_p2p_generate_bss_mac
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	%rsi, %rdi
	callq	_is_zero_ether_addr
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	(%rbx), %rdi
	callq	_eth_random_addr
	jmp	LBB0_4
LBB0_3:
	movq	(%rbx), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_memcpy
LBB0_4:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	orl	$2, (%rax)
	xorb	$-128, 16(%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_brcmf_p2p_generate_bss_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_p2p_generate_bss_mac
_brcmf_p2p_generate_bss_mac:            ; @brcmf_p2p_generate_bss_mac
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x21, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ETH_ALEN@GOTPAGEOFF]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x20, x1
	mov	x0, x1
	bl	_is_zero_ether_addr
	cbz	x0, LBB0_3
LBB0_2:
	ldr	x0, [x19]
	bl	_eth_random_addr
	b	LBB0_4
LBB0_3:
	ldr	x0, [x19]
	ldr	w2, [x21]
	mov	x1, x20
	bl	_memcpy
LBB0_4:
	ldp	x1, x0, [x19]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	orr	w9, w9, #0x2
	str	w9, [x8]
	ldr	w9, [x8, #16]
	eor	w9, w9, #0x80
	str	w9, [x8, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_brcmf_p2p_generate_bss_mac
.subsections_via_symbols
