	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_mdio_start
_tg3_mdio_start:                        ## @tg3_mdio_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_MAC_MI_MODE_AUTO_POLL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	(%rdi), %esi
	movl	%esi, (%rdi)
	movq	_MAC_MI_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tw32_f
	movl	$80, %edi
	callq	_udelay
	movq	_MDIOBUS_INITED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tg3_flag
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_tg3_asic_rev
	movq	_ASIC_REV_5785@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_tg3_mdio_config_5785           ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_MI_MODE_AUTO_POLL,4,2      ## @MAC_MI_MODE_AUTO_POLL
	.comm	_MAC_MI_MODE,4,2                ## @MAC_MI_MODE
	.comm	_MDIOBUS_INITED,4,2             ## @MDIOBUS_INITED
	.comm	_ASIC_REV_5785,8,3              ## @ASIC_REV_5785
	.no_dead_strip	_tg3_mdio_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_mdio_start
_tg3_mdio_start:                        ; @tg3_mdio_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _MAC_MI_MODE_AUTO_POLL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAC_MI_MODE_AUTO_POLL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w1, w9, w8
	str	w1, [x0]
Lloh3:
	adrp	x8, _MAC_MI_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAC_MI_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_tw32_f
	mov	w0, #80
	bl	_udelay
Lloh6:
	adrp	x8, _MDIOBUS_INITED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MDIOBUS_INITED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tg3_flag
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_tg3_asic_rev
Lloh9:
	adrp	x8, _ASIC_REV_5785@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ASIC_REV_5785@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_tg3_mdio_config_5785
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_MI_MODE_AUTO_POLL,4,2      ; @MAC_MI_MODE_AUTO_POLL
	.comm	_MAC_MI_MODE,4,2                ; @MAC_MI_MODE
	.comm	_MDIOBUS_INITED,4,2             ; @MDIOBUS_INITED
	.comm	_ASIC_REV_5785,8,3              ; @ASIC_REV_5785
	.no_dead_strip	_tg3_mdio_start
.subsections_via_symbols
