	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_shift_in_mdi_bits
_e1000_shift_in_mdi_bits:               ## @e1000_shift_in_mdi_bits
	.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, %r14
	movq	_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_er32
	movq	_E1000_CTRL_MDIO_DIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_E1000_CTRL_MDIO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	%esi, -44(%rbp)
	movq	%rbx, %r13
	movl	(%rbx), %edi
	callq	_ew32
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_E1000_WRITE_FLUSH
	leaq	-44(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_e1000_raise_mdi_clk
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_e1000_lower_mdi_clk
	movl	$16, %r12d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_e1000_raise_mdi_clk
	movl	(%r13), %edi
	callq	_er32
	movl	%eax, -44(%rbp)
	xorl	%ecx, %ecx
	movq	_E1000_CTRL_MDIO@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	setne	%cl
	leal	(%rcx,%rbx,2), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_e1000_lower_mdi_clk
	decl	%r12d
	jne	LBB0_1
## %bb.2:
	leaq	-44(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_e1000_raise_mdi_clk
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_e1000_lower_mdi_clk
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL,4,2                       ## @CTRL
	.comm	_E1000_CTRL_MDIO_DIR,4,2        ## @E1000_CTRL_MDIO_DIR
	.comm	_E1000_CTRL_MDIO,4,2            ## @E1000_CTRL_MDIO
	.no_dead_strip	_e1000_shift_in_mdi_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_shift_in_mdi_bits
_e1000_shift_in_mdi_bits:               ; @e1000_shift_in_mdi_bits
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CTRL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
Lloh2:
	adrp	x8, _E1000_CTRL_MDIO_DIR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_CTRL_MDIO_DIR@GOTPAGEOFF]
Lloh4:
	adrp	x22, _E1000_CTRL_MDIO@GOTPAGE
Lloh5:
	ldr	x22, [x22, _E1000_CTRL_MDIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w8, w9
	bic	w1, w0, w8
	str	w1, [sp, #12]
	ldr	w0, [x21]
	bl	_ew32
	bl	_E1000_WRITE_FLUSH
	add	x1, sp, #12
	mov	x0, x19
	bl	_e1000_raise_mdi_clk
	add	x1, sp, #12
	mov	x0, x19
	bl	_e1000_lower_mdi_clk
	mov	w20, #0
	mov	w23, #16
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x19
	bl	_e1000_raise_mdi_clk
	ldr	w0, [x21]
	bl	_er32
	str	w0, [sp, #12]
	ldr	w8, [x22]
	tst	w8, w0
	cset	w8, ne
	bfi	w8, w20, #1, #31
	mov	x20, x8
	add	x1, sp, #12
	mov	x0, x19
	bl	_e1000_lower_mdi_clk
	subs	w23, w23, #1
	b.ne	LBB0_1
; %bb.2:
	add	x1, sp, #12
	mov	x0, x19
	bl	_e1000_raise_mdi_clk
	add	x1, sp, #12
	mov	x0, x19
	bl	_e1000_lower_mdi_clk
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL,4,2                       ; @CTRL
	.comm	_E1000_CTRL_MDIO_DIR,4,2        ; @E1000_CTRL_MDIO_DIR
	.comm	_E1000_CTRL_MDIO,4,2            ; @E1000_CTRL_MDIO
	.no_dead_strip	_e1000_shift_in_mdi_bits
.subsections_via_symbols
