	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsc75xx_write_wuff
_smsc75xx_write_wuff:                   ## @smsc75xx_write_wuff
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_WUF_CFGX@GOTPCREL(%rip), %rax
	leal	(,%rbx,4), %esi
	addl	(%rax), %esi
	movq	_WUF_MASKX@GOTPCREL(%rip), %rax
	shll	$4, %ebx
	addl	(%rax), %ebx
	callq	_smsc75xx_write_reg
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r14d, %edx
	callq	_smsc75xx_write_reg
	leaq	L_.str.1(%rip), %r14
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	leal	4(%rbx), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_smsc75xx_write_reg
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	leal	8(%rbx), %esi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_smsc75xx_write_reg
	testl	%eax, %eax
	js	LBB0_6
## %bb.5:
	addl	$12, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_smsc75xx_write_reg
	testl	%eax, %eax
	jns	LBB0_8
LBB0_6:
	movl	%eax, %r12d
	jmp	LBB0_7
LBB0_1:
	movl	%eax, %r12d
	leaq	L_.str(%rip), %r14
LBB0_7:
	movl	(%r15), %edi
	movq	%r14, %rsi
	callq	_netdev_warn
LBB0_8:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WUF_CFGX,4,2                   ## @WUF_CFGX
	.comm	_WUF_MASKX,4,2                  ## @WUF_MASKX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error writing WUF_CFGX\n"

L_.str.1:                               ## @.str.1
	.asciz	"Error writing WUF_MASKX\n"

	.no_dead_strip	_smsc75xx_write_wuff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsc75xx_write_wuff
_smsc75xx_write_wuff:                   ; @smsc75xx_write_wuff
	.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, x3
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _WUF_CFGX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WUF_CFGX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w1, w8, w1, lsl #2
Lloh3:
	adrp	x8, _WUF_MASKX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WUF_MASKX@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	bl	_smsc75xx_write_reg
	tbnz	w0, #31, LBB0_7
; %bb.1:
	add	w21, w23, w21, lsl #4
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_smsc75xx_write_reg
	tbnz	w0, #31, LBB0_6
; %bb.2:
	add	w1, w21, #4
	mov	x0, x19
	mov	w2, #0
	bl	_smsc75xx_write_reg
	tbnz	w0, #31, LBB0_6
; %bb.3:
	add	w1, w21, #8
	mov	x0, x19
	mov	w2, #0
	bl	_smsc75xx_write_reg
	tbnz	w0, #31, LBB0_6
; %bb.4:
	add	w1, w21, #12
	mov	x0, x19
	mov	w2, #0
	bl	_smsc75xx_write_reg
	mov	w20, #0
	tbz	w0, #31, LBB0_9
; %bb.5:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x20, x0
	b	LBB0_8
LBB0_6:
	mov	x20, x0
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
	mov	x20, x0
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
LBB0_8:
	ldr	w0, [x19]
	bl	_netdev_warn
LBB0_9:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_WUF_CFGX,4,2                   ; @WUF_CFGX
	.comm	_WUF_MASKX,4,2                  ; @WUF_MASKX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error writing WUF_CFGX\n"

l_.str.1:                               ; @.str.1
	.asciz	"Error writing WUF_MASKX\n"

	.no_dead_strip	_smsc75xx_write_wuff
.subsections_via_symbols
