	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88e1540_get_fld
_m88e1540_get_fld:                      ## @m88e1540_get_fld
	.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	%rsi, %rbx
	movq	_MII_88E1540_COPPER_CTRL3@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_phy_read
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	movq	_MII_88E1540_COPPER_CTRL3_FAST_LINK_DOWN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
## %bb.2:
	movq	_MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%eax, %esi
	callq	_FIELD_GET
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	$40, (%rbx)
	jmp	LBB0_10
LBB0_5:
	movq	_ETHTOOL_PHY_FAST_LINK_DOWN_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_10
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_7:
	movl	$20, (%rbx)
	jmp	LBB0_10
LBB0_8:
	movl	$10, (%rbx)
	jmp	LBB0_10
LBB0_9:
	movl	$0, (%rbx)
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_MII_88E1540_COPPER_CTRL3,4,2   ## @MII_88E1540_COPPER_CTRL3
	.comm	_MII_88E1540_COPPER_CTRL3_FAST_LINK_DOWN,4,2 ## @MII_88E1540_COPPER_CTRL3_FAST_LINK_DOWN
	.comm	_ETHTOOL_PHY_FAST_LINK_DOWN_OFF,4,2 ## @ETHTOOL_PHY_FAST_LINK_DOWN_OFF
	.comm	_MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK,4,2 ## @MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_m88e1540_get_fld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88e1540_get_fld
_m88e1540_get_fld:                      ; @m88e1540_get_fld
	.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, x1
Lloh0:
	adrp	x8, _MII_88E1540_COPPER_CTRL3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MII_88E1540_COPPER_CTRL3@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_phy_read
	mov	x1, x0
	tbnz	w0, #31, LBB0_10
; %bb.1:
Lloh3:
	adrp	x8, _MII_88E1540_COPPER_CTRL3_FAST_LINK_DOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MII_88E1540_COPPER_CTRL3_FAST_LINK_DOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_FIELD_GET
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_6
; %bb.3:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	w1, #0
	mov	w8, #40
	str	w8, [x19]
	b	LBB0_10
LBB0_5:
	mov	w1, #0
Lloh11:
	adrp	x8, _ETHTOOL_PHY_FAST_LINK_DOWN_OFF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ETHTOOL_PHY_FAST_LINK_DOWN_OFF@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w1, w8
	b	LBB0_10
LBB0_7:
	mov	w1, #0
	mov	w8, #20
	str	w8, [x19]
	b	LBB0_10
LBB0_8:
	mov	w1, #0
	mov	w8, #10
	str	w8, [x19]
	b	LBB0_10
LBB0_9:
	mov	w1, #0
	str	wzr, [x19]
LBB0_10:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
                                        ; -- End function
	.comm	_MII_88E1540_COPPER_CTRL3,4,2   ; @MII_88E1540_COPPER_CTRL3
	.comm	_MII_88E1540_COPPER_CTRL3_FAST_LINK_DOWN,4,2 ; @MII_88E1540_COPPER_CTRL3_FAST_LINK_DOWN
	.comm	_ETHTOOL_PHY_FAST_LINK_DOWN_OFF,4,2 ; @ETHTOOL_PHY_FAST_LINK_DOWN_OFF
	.comm	_MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK,4,2 ; @MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_m88e1540_get_fld
.subsections_via_symbols
