	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc75xx_set_mac_address
_smsc75xx_set_mac_address:              ## @smsc75xx_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	(%rdi), %rax
	movq	(%rax), %rax
	movl	4(%rax), %r12d
	shll	$8, %r12d
	orl	(%rax), %r12d
	movl	8(%rax), %r14d
	movl	12(%rax), %r13d
	movl	20(%rax), %ebx
	shll	$8, %ebx
	orl	16(%rax), %ebx
	movq	_RX_ADDRH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %edx
	callq	_smsc75xx_write_reg
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	shll	$16, %r14d
	shll	$24, %r13d
	orl	%r14d, %r13d
	orl	%r13d, %r12d
	movq	_RX_ADDRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_smsc75xx_write_reg
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	_ADDR_FILTX_FB_VALID@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ADDR_FILTX@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_smsc75xx_write_reg
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	(%r14), %rsi
	addq	$4, %rsi
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	_smsc75xx_write_reg
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_9
## %bb.7:
	movq	(%r13), %rdi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_3:
	movl	%eax, %r15d
	movq	(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_5:
	movl	%eax, %r15d
	movq	(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
LBB0_8:
	movl	%r15d, %edx
	callq	_netdev_warn
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_ADDRH,8,3                   ## @RX_ADDRH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to write RX_ADDRH: %d\n"

	.comm	_RX_ADDRL,8,3                   ## @RX_ADDRL
L_.str.1:                               ## @.str.1
	.asciz	"Failed to write RX_ADDRL: %d\n"

	.comm	_ADDR_FILTX_FB_VALID,4,2        ## @ADDR_FILTX_FB_VALID
	.comm	_ADDR_FILTX,8,3                 ## @ADDR_FILTX
L_.str.2:                               ## @.str.2
	.asciz	"Failed to write ADDR_FILTX: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to write ADDR_FILTX+4: %d\n"

	.no_dead_strip	_smsc75xx_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 smsc75xx_set_mac_address
_smsc75xx_set_mac_address:              ; @smsc75xx_set_mac_address
	.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, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldp	w21, w23, [x8]
	ldp	w24, w25, [x8, #8]
	ldp	w9, w8, [x8, #16]
	orr	w22, w9, w8, lsl #8
Lloh0:
	adrp	x8, _RX_ADDRH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RX_ADDRH@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x2, x22
	bl	_smsc75xx_write_reg
	tbnz	w0, #31, LBB0_5
; %bb.1:
	orr	w8, w21, w23, lsl #8
	orr	w8, w8, w24, lsl #16
	orr	w21, w8, w25, lsl #24
Lloh3:
	adrp	x8, _RX_ADDRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RX_ADDRL@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x21
	bl	_smsc75xx_write_reg
	tbnz	w0, #31, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _ADDR_FILTX_FB_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADDR_FILTX_FB_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w2, w8, w22
Lloh9:
	adrp	x22, _ADDR_FILTX@GOTPAGE
Lloh10:
	ldr	x22, [x22, _ADDR_FILTX@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x19
	bl	_smsc75xx_write_reg
	tbnz	w0, #31, LBB0_7
; %bb.3:
	ldr	x8, [x22]
	add	x1, x8, #4
	mov	x0, x19
	mov	x2, x21
	bl	_smsc75xx_write_reg
	mov	x20, x0
	tbz	w0, #31, LBB0_9
; %bb.4:
	ldr	x0, [x19]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_5:
	mov	x20, x0
	ldr	x0, [x19]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_6:
	mov	x20, x0
	ldr	x0, [x19]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	mov	x20, x0
	ldr	x0, [x19]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	mov	x2, x20
	bl	_netdev_warn
LBB0_9:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_ADDRH,8,3                   ; @RX_ADDRH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to write RX_ADDRH: %d\n"

	.comm	_RX_ADDRL,8,3                   ; @RX_ADDRL
l_.str.1:                               ; @.str.1
	.asciz	"Failed to write RX_ADDRL: %d\n"

	.comm	_ADDR_FILTX_FB_VALID,4,2        ; @ADDR_FILTX_FB_VALID
	.comm	_ADDR_FILTX,8,3                 ; @ADDR_FILTX
l_.str.2:                               ; @.str.2
	.asciz	"Failed to write ADDR_FILTX: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to write ADDR_FILTX+4: %d\n"

	.no_dead_strip	_smsc75xx_set_mac_address
.subsections_via_symbols
