	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_shift_out_mdi_bits
_e1000_shift_out_mdi_bits:              ## @e1000_shift_out_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
                                        ## kill: def $edx killed $edx def $rdx
	leal	-1(%rdx), %ecx
	movl	$1, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_er32
	movq	_E1000_CTRL_MDIO_DIR@GOTPCREL(%rip), %rcx
	movq	_E1000_CTRL_MDC_DIR@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	%eax, -44(%rbp)
	movq	_E1000_CTRL_MDIO@GOTPCREL(%rip), %r13
	leaq	-44(%rbp), %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	notl	%esi
	andl	-44(%rbp), %esi
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%esi, -44(%rbp)
	movq	_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ew32
	xorl	%eax, %eax
	callq	_E1000_WRITE_FLUSH
	movl	$10, %edi
	callq	_udelay
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_e1000_raise_mdi_clk
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_e1000_lower_mdi_clk
	movl	%ebx, %eax
	sarl	%eax
	cmpl	$1, %ebx
	movl	%eax, %ebx
	jbe	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	testl	%r14d, %ebx
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	orl	-44(%rbp), %esi
	jmp	LBB0_4
LBB0_5:
	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_MDC_DIR,4,2         ## @E1000_CTRL_MDC_DIR
	.comm	_E1000_CTRL_MDIO,4,2            ## @E1000_CTRL_MDIO
	.no_dead_strip	_e1000_shift_out_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_out_mdi_bits
_e1000_shift_out_mdi_bits:              ; @e1000_shift_out_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, x1
	mov	x20, x0
	sub	w8, w2, #1
	mov	w9, #1
	lsl	w21, w9, w8
Lloh0:
	adrp	x22, _CTRL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CTRL@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_er32
Lloh2:
	adrp	x8, _E1000_CTRL_MDIO_DIR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_CTRL_MDIO_DIR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _E1000_CTRL_MDC_DIR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _E1000_CTRL_MDC_DIR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w8, w8, w9
	str	w8, [sp, #12]
Lloh8:
	adrp	x23, _E1000_CTRL_MDIO@GOTPAGE
Lloh9:
	ldr	x23, [x23, _E1000_CTRL_MDIO@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [sp, #12]
	bic	w1, w9, w8
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	w1, [sp, #12]
	ldr	w0, [x22]
	bl	_ew32
	bl	_E1000_WRITE_FLUSH
	mov	w0, #10
	bl	_udelay
	add	x1, sp, #12
	mov	x0, x20
	bl	_e1000_raise_mdi_clk
	add	x1, sp, #12
	mov	x0, x20
	bl	_e1000_lower_mdi_clk
	asr	w8, w21, #1
	cmp	w21, #1
	mov	x21, x8
	b.ls	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	tst	w21, w19
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [sp, #12]
	orr	w1, w9, w8
	b	LBB0_2
LBB0_5:
	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	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.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_MDC_DIR,4,2         ; @E1000_CTRL_MDC_DIR
	.comm	_E1000_CTRL_MDIO,4,2            ; @E1000_CTRL_MDIO
	.no_dead_strip	_e1000_shift_out_mdi_bits
.subsections_via_symbols
