	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __e1000_write_kmrn_reg
___e1000_write_kmrn_reg:                ## @__e1000_write_kmrn_reg
	.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	%edx, %r15d
	movl	%esi, %ebx
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.5:
	movq	_E1000_KMRNCTRLSTA_OFFSET_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_E1000_KMRNCTRLSTA_OFFSET@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	orl	%r15d, %ebx
	movq	_KMRNCTRLSTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_ew32
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_e1e_flush
	movl	$2, %edi
	callq	_udelay
LBB0_6:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	*%rax
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	_E1000_KMRNCTRLSTA_OFFSET_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	movq	_E1000_KMRNCTRLSTA_OFFSET@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	orl	%r15d, %ebx
	movq	_KMRNCTRLSTA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_ew32
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_e1e_flush
	movl	$2, %edi
	callq	_udelay
	movq	%r14, %rdi
	callq	*(%r14)
	jmp	LBB0_6
LBB0_2:
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_KMRNCTRLSTA_OFFSET_SHIFT,4,2 ## @E1000_KMRNCTRLSTA_OFFSET_SHIFT
	.comm	_E1000_KMRNCTRLSTA_OFFSET,4,2   ## @E1000_KMRNCTRLSTA_OFFSET
	.comm	_KMRNCTRLSTA,4,2                ## @KMRNCTRLSTA
	.no_dead_strip	___e1000_write_kmrn_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __e1000_write_kmrn_reg
___e1000_write_kmrn_reg:                ; @__e1000_write_kmrn_reg
	.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	x20, x2
	mov	x21, x1
	cbz	w3, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _E1000_KMRNCTRLSTA_OFFSET_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E1000_KMRNCTRLSTA_OFFSET_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w8, w21, w8
Lloh3:
	adrp	x9, _E1000_KMRNCTRLSTA_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _E1000_KMRNCTRLSTA_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w8, w9
	orr	w1, w8, w20
Lloh6:
	adrp	x8, _KMRNCTRLSTA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KMRNCTRLSTA@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ew32
	bl	_e1e_flush
	mov	w0, #2
	bl	_udelay
LBB0_2:
	mov	x0, #0
LBB0_3:
	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
LBB0_4:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.5:
	mov	x0, x19
	blr	x8
	cbnz	x0, LBB0_3
; %bb.6:
Lloh9:
	adrp	x8, _E1000_KMRNCTRLSTA_OFFSET_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _E1000_KMRNCTRLSTA_OFFSET_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w8, w21, w8
Lloh12:
	adrp	x9, _E1000_KMRNCTRLSTA_OFFSET@GOTPAGE
Lloh13:
	ldr	x9, [x9, _E1000_KMRNCTRLSTA_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	and	w8, w8, w9
	orr	w1, w8, w20
Lloh15:
	adrp	x8, _KMRNCTRLSTA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KMRNCTRLSTA@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_ew32
	bl	_e1e_flush
	mov	w0, #2
	bl	_udelay
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_KMRNCTRLSTA_OFFSET_SHIFT,4,2 ; @E1000_KMRNCTRLSTA_OFFSET_SHIFT
	.comm	_E1000_KMRNCTRLSTA_OFFSET,4,2   ; @E1000_KMRNCTRLSTA_OFFSET
	.comm	_KMRNCTRLSTA,4,2                ; @KMRNCTRLSTA
	.no_dead_strip	___e1000_write_kmrn_reg
.subsections_via_symbols
