	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_netdev_set_mac_address
_brcmf_netdev_set_mac_address:          ## @brcmf_netdev_set_mac_address
	.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
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	24(%rax), %r12
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	movl	(%r14), %edx
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movl	(%r13), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_brcmf_fil_iovar_data_set
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	callq	_brcmf_dbg
	movl	(%rbx), %edi
	movl	(%r14), %esi
	movl	(%r13), %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	movl	(%r13), %edx
	callq	_memcpy
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_bphy_err
LBB0_3:
	movl	%r15d, %eax
	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	"Enter, bsscfgidx=%d\n"

L_.str.1:                               ## @.str.1
	.asciz	"cur_etheraddr"

	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
L_.str.2:                               ## @.str.2
	.asciz	"Setting cur_etheraddr failed, %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"updated to %pM\n"

	.no_dead_strip	_brcmf_netdev_set_mac_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_netdev_set_mac_address
_brcmf_netdev_set_mac_address:          ; @brcmf_netdev_set_mac_address
	.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	x21, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x22, [x0, #24]
Lloh0:
	adrp	x24, _TRACE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TRACE@GOTPAGEOFF]
	ldr	w0, [x24]
	ldr	w2, [x19, #16]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	w2, [x21]
Lloh4:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w3, [x23]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_brcmf_fil_iovar_data_set
	mov	x20, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [x24]
	ldr	w2, [x21]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_brcmf_dbg
	ldr	w0, [x19]
	ldr	w1, [x21]
	ldr	w2, [x23]
	bl	_memcpy
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	ldr	w1, [x19]
	ldr	w2, [x23]
	bl	_memcpy
	b	LBB0_3
LBB0_2:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x2, x20
	bl	_bphy_err
LBB0_3:
	mov	x0, x20
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TRACE,4,2                      ; @TRACE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter, bsscfgidx=%d\n"

l_.str.1:                               ; @.str.1
	.asciz	"cur_etheraddr"

	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
l_.str.2:                               ; @.str.2
	.asciz	"Setting cur_etheraddr failed, %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"updated to %pM\n"

	.no_dead_strip	_brcmf_netdev_set_mac_address
.subsections_via_symbols
