	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __tg3_set_mac_addr
___tg3_set_mac_addr:                    ## @__tg3_set_mac_addr
	.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
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %r15d
	shll	$8, %r15d
	orl	4(%rax), %r15d
	movl	8(%rax), %ecx
	shll	$24, %ecx
	movl	12(%rax), %edx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	16(%rax), %ebx
	shll	$8, %ebx
	orl	%edx, %ebx
	orl	20(%rax), %ebx
	movq	_MAC_ADDR_0_HIGH@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	_MAC_ADDR_0_LOW@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	%ebx, %esi
	callq	_tw32
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_2
## %bb.1:
	movq	(%r13), %rdi
	addq	$8, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$8, %rdi
	movl	%ebx, %esi
	callq	_tw32
LBB0_2:
	movq	(%r13), %rdi
	addq	$16, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$16, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$24, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$24, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	%r14, %rdi
	callq	_tg3_asic_rev
	movq	_ASIC_REV_5703@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_tg3_asic_rev
	movq	_ASIC_REV_5704@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_4:
	movq	_MAC_EXTADDR_0_HIGH@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	_MAC_EXTADDR_0_LOW@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$8, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$8, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$16, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$16, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$24, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$24, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$32, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$32, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$40, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$40, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$48, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$48, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$56, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$56, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$64, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$64, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$72, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$72, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$80, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$80, %rdi
	movl	%ebx, %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	$88, %rdi
	movl	%r15d, %esi
	callq	_tw32
	movq	(%r12), %rdi
	addq	$88, %rdi
	movl	%ebx, %esi
	callq	_tw32
LBB0_5:
	movq	(%r14), %rax
	movq	(%rax), %rax
	movdqu	(%rax), %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %esi
	addl	16(%rax), %esi
	addl	20(%rax), %esi
	movq	_TX_BACKOFF_SEED_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	movq	_MAC_TX_BACKOFF_SEED@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tw32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_ADDR_0_HIGH,8,3            ## @MAC_ADDR_0_HIGH
	.comm	_MAC_ADDR_0_LOW,8,3             ## @MAC_ADDR_0_LOW
	.comm	_ASIC_REV_5703,8,3              ## @ASIC_REV_5703
	.comm	_ASIC_REV_5704,8,3              ## @ASIC_REV_5704
	.comm	_MAC_EXTADDR_0_HIGH,8,3         ## @MAC_EXTADDR_0_HIGH
	.comm	_MAC_EXTADDR_0_LOW,8,3          ## @MAC_EXTADDR_0_LOW
	.comm	_TX_BACKOFF_SEED_MASK,4,2       ## @TX_BACKOFF_SEED_MASK
	.comm	_MAC_TX_BACKOFF_SEED,8,3        ## @MAC_TX_BACKOFF_SEED
	.no_dead_strip	___tg3_set_mac_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __tg3_set_mac_addr
___tg3_set_mac_addr:                    ; @__tg3_set_mac_addr
	.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	x22, x1
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldp	w9, w10, [x8]
	orr	w20, w10, w9, lsl #8
	ldp	w9, w10, [x8, #8]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldp	w10, w8, [x8, #16]
	orr	w9, w9, w10, lsl #8
	orr	w21, w9, w8
Lloh0:
	adrp	x23, _MAC_ADDR_0_HIGH@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MAC_ADDR_0_HIGH@GOTPAGEOFF]
	ldr	x0, [x23]
	mov	x1, x20
	bl	_tw32
Lloh2:
	adrp	x24, _MAC_ADDR_0_LOW@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MAC_ADDR_0_LOW@GOTPAGEOFF]
	ldr	x0, [x24]
	mov	x1, x21
	bl	_tw32
	cbnz	w22, LBB0_2
; %bb.1:
	ldr	x8, [x23]
	add	x0, x8, #8
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x24]
	add	x0, x8, #8
	mov	x1, x21
	bl	_tw32
LBB0_2:
	ldr	x8, [x23]
	add	x0, x8, #16
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x24]
	add	x0, x8, #16
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #24
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x24]
	add	x0, x8, #24
	mov	x1, x21
	bl	_tw32
	mov	x0, x19
	bl	_tg3_asic_rev
Lloh4:
	adrp	x8, _ASIC_REV_5703@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ASIC_REV_5703@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_tg3_asic_rev
Lloh7:
	adrp	x8, _ASIC_REV_5704@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ASIC_REV_5704@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_4:
Lloh10:
	adrp	x22, _MAC_EXTADDR_0_HIGH@GOTPAGE
Lloh11:
	ldr	x22, [x22, _MAC_EXTADDR_0_HIGH@GOTPAGEOFF]
	ldr	x0, [x22]
	mov	x1, x20
	bl	_tw32
Lloh12:
	adrp	x23, _MAC_EXTADDR_0_LOW@GOTPAGE
Lloh13:
	ldr	x23, [x23, _MAC_EXTADDR_0_LOW@GOTPAGEOFF]
	ldr	x0, [x23]
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #8
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #8
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #16
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #16
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #24
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #24
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #32
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #32
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #40
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #40
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #48
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #48
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #56
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #56
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #64
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #64
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #72
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #72
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #80
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #80
	mov	x1, x21
	bl	_tw32
	ldr	x8, [x22]
	add	x0, x8, #88
	mov	x1, x20
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, #88
	mov	x1, x21
	bl	_tw32
LBB0_5:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	q0, [x8]
	ldp	w9, w8, [x8, #16]
	addv.4s	s0, v0
	fmov	w10, s0
	add	w9, w10, w9
	add	w8, w9, w8
Lloh14:
	adrp	x9, _TX_BACKOFF_SEED_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TX_BACKOFF_SEED_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w1, w8, w9
Lloh17:
	adrp	x8, _MAC_TX_BACKOFF_SEED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MAC_TX_BACKOFF_SEED@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
	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
	b	_tw32
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_ADDR_0_HIGH,8,3            ; @MAC_ADDR_0_HIGH
	.comm	_MAC_ADDR_0_LOW,8,3             ; @MAC_ADDR_0_LOW
	.comm	_ASIC_REV_5703,8,3              ; @ASIC_REV_5703
	.comm	_ASIC_REV_5704,8,3              ; @ASIC_REV_5704
	.comm	_MAC_EXTADDR_0_HIGH,8,3         ; @MAC_EXTADDR_0_HIGH
	.comm	_MAC_EXTADDR_0_LOW,8,3          ; @MAC_EXTADDR_0_LOW
	.comm	_TX_BACKOFF_SEED_MASK,4,2       ; @TX_BACKOFF_SEED_MASK
	.comm	_MAC_TX_BACKOFF_SEED,8,3        ; @MAC_TX_BACKOFF_SEED
	.no_dead_strip	___tg3_set_mac_addr
.subsections_via_symbols
