	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8150_get_settings
_rtl8150_get_settings:                  ## @rtl8150_get_settings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	_SUPPORTED_MII@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%rax, %rbx
	movl	%edx, (%r14)
	movq	_PORT_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%r14)
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movl	(%rbx), %eax
	movl	%eax, 28(%r14)
	movq	_BMCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-18(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_get_registers
	movq	_ANLP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_get_registers
	movzwl	-18(%rbp), %eax
	movq	_BMCR_ANENABLE@GOTPCREL(%rip), %rcx
	testw	%ax, (%rcx)
	je	LBB0_6
## %bb.1:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movzwl	-20(%rbp), %ecx
	movq	_LPA_100HALF@GOTPCREL(%rip), %rdx
	movq	_LPA_100FULL@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
	movzwl	(%rdx), %edi
	orw	%ax, %di
	movq	_SPEED_100@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, %rsi
	testw	%cx, %di
	jne	LBB0_3
## %bb.2:
	movq	_SPEED_10@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
LBB0_3:
	movq	%rsi, 8(%r14)
	cmpq	%rdx, %rsi
	jne	LBB0_5
## %bb.4:
	andl	%ecx, %eax
	testw	%ax, %ax
	jne	LBB0_11
	jmp	LBB0_12
LBB0_6:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%r14)
	movq	_BMCR_SPEED100@GOTPCREL(%rip), %rcx
	movzwl	(%rcx), %ecx
	andw	%ax, %cx
	jne	LBB0_7
## %bb.8:
	movq	_SPEED_10@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_5:
	movq	_LPA_10FULL@GOTPCREL(%rip), %rax
	andw	(%rax), %cx
	movl	%ecx, %eax
	testw	%ax, %ax
	je	LBB0_12
LBB0_11:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_7:
	movq	_SPEED_100@GOTPCREL(%rip), %rcx
LBB0_9:
	movq	(%rcx), %rcx
	movq	%rcx, 8(%r14)
	movq	_BMCR_FULLDPLX@GOTPCREL(%rip), %rcx
	andw	(%rcx), %ax
	testw	%ax, %ax
	jne	LBB0_11
LBB0_12:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
LBB0_13:
	movq	(%rax), %rax
	movq	%rax, 16(%r14)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_10baseT_Half,4,2     ## @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ## @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ## @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ## @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_SUPPORTED_MII,4,2              ## @SUPPORTED_MII
	.comm	_PORT_TP,4,2                    ## @PORT_TP
	.comm	_XCVR_INTERNAL,4,2              ## @XCVR_INTERNAL
	.comm	_BMCR,4,2                       ## @BMCR
	.comm	_ANLP,4,2                       ## @ANLP
	.comm	_BMCR_ANENABLE,2,1              ## @BMCR_ANENABLE
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_LPA_100HALF,2,1                ## @LPA_100HALF
	.comm	_LPA_100FULL,2,1                ## @LPA_100FULL
	.comm	_SPEED_100,8,3                  ## @SPEED_100
	.comm	_SPEED_10,8,3                   ## @SPEED_10
	.comm	_DUPLEX_FULL,8,3                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,8,3                ## @DUPLEX_HALF
	.comm	_LPA_10FULL,2,1                 ## @LPA_10FULL
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_BMCR_SPEED100,2,1              ## @BMCR_SPEED100
	.comm	_BMCR_FULLDPLX,2,1              ## @BMCR_FULLDPLX
	.no_dead_strip	_rtl8150_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8150_get_settings
_rtl8150_get_settings:                  ; @rtl8150_get_settings
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _SUPPORTED_10baseT_Half@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_10baseT_Half@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SUPPORTED_10baseT_Full@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUPPORTED_10baseT_Full@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _SUPPORTED_100baseT_Half@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SUPPORTED_100baseT_Half@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _SUPPORTED_100baseT_Full@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SUPPORTED_100baseT_Full@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _SUPPORTED_Autoneg@GOTPAGE
Lloh13:
	ldr	x9, [x9, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _SUPPORTED_TP@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SUPPORTED_TP@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _SUPPORTED_MII@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SUPPORTED_MII@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _PORT_TP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PORT_TP@GOTPAGEOFF]
	str	w8, [x19]
Lloh23:
	ldr	w8, [x9]
	str	w8, [x19, #36]
Lloh24:
	adrp	x8, _XCVR_INTERNAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XCVR_INTERNAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x0]
	stp	w9, w8, [x19, #28]
Lloh27:
	adrp	x8, _BMCR@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BMCR@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	add	x3, sp, #12
	mov	w2, #2
	bl	_get_registers
Lloh30:
	adrp	x8, _ANLP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ANLP@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	add	x3, sp, #14
	mov	x0, x20
	mov	w2, #2
	bl	_get_registers
	ldrh	w8, [sp, #12]
Lloh33:
	adrp	x9, _BMCR_ANENABLE@GOTPAGE
Lloh34:
	ldr	x9, [x9, _BMCR_ANENABLE@GOTPAGEOFF]
	ldrh	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh35:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	ldrh	w8, [sp, #14]
Lloh38:
	adrp	x9, _LPA_100HALF@GOTPAGE
Lloh39:
	ldr	x9, [x9, _LPA_100HALF@GOTPAGEOFF]
	ldrh	w10, [x9]
Lloh40:
	adrp	x9, _LPA_100FULL@GOTPAGE
Lloh41:
	ldr	x9, [x9, _LPA_100FULL@GOTPAGEOFF]
	ldrh	w9, [x9]
	orr	w10, w9, w10
Lloh42:
	adrp	x11, _SPEED_100@GOTPAGE
Lloh43:
	ldr	x11, [x11, _SPEED_100@GOTPAGEOFF]
Lloh44:
	adrp	x12, _SPEED_10@GOTPAGE
Lloh45:
	ldr	x12, [x12, _SPEED_10@GOTPAGEOFF]
Lloh46:
	ldr	x11, [x11]
Lloh47:
	ldr	x12, [x12]
	tst	w10, w8
	csel	x10, x12, x11, eq
	str	x10, [x19, #8]
	cmp	x10, x11
	b.eq	LBB0_5
; %bb.2:
Lloh48:
	adrp	x9, _LPA_10FULL@GOTPAGE
Lloh49:
	ldr	x9, [x9, _LPA_10FULL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh50:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	str	w9, [x19, #24]
Lloh53:
	adrp	x9, _BMCR_SPEED100@GOTPAGE
Lloh54:
	ldr	x9, [x9, _BMCR_SPEED100@GOTPAGEOFF]
	ldrh	w9, [x9]
Lloh55:
	adrp	x10, _SPEED_100@GOTPAGE
Lloh56:
	ldr	x10, [x10, _SPEED_100@GOTPAGEOFF]
Lloh57:
	adrp	x11, _SPEED_10@GOTPAGE
Lloh58:
	ldr	x11, [x11, _SPEED_10@GOTPAGEOFF]
	tst	w9, w8
	csel	x9, x11, x10, eq
	ldr	x9, [x9]
	str	x9, [x19, #8]
Lloh59:
	adrp	x9, _BMCR_FULLDPLX@GOTPAGE
Lloh60:
	ldr	x9, [x9, _BMCR_FULLDPLX@GOTPAGEOFF]
LBB0_4:
	ldrh	w9, [x9]
LBB0_5:
	and	w8, w9, w8
Lloh61:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh62:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh63:
	adrp	x10, _DUPLEX_HALF@GOTPAGE
Lloh64:
	ldr	x10, [x10, _DUPLEX_HALF@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	x8, [x8]
	str	x8, [x19, #16]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_10baseT_Half,4,2     ; @SUPPORTED_10baseT_Half
	.comm	_SUPPORTED_10baseT_Full,4,2     ; @SUPPORTED_10baseT_Full
	.comm	_SUPPORTED_100baseT_Half,4,2    ; @SUPPORTED_100baseT_Half
	.comm	_SUPPORTED_100baseT_Full,4,2    ; @SUPPORTED_100baseT_Full
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_SUPPORTED_MII,4,2              ; @SUPPORTED_MII
	.comm	_PORT_TP,4,2                    ; @PORT_TP
	.comm	_XCVR_INTERNAL,4,2              ; @XCVR_INTERNAL
	.comm	_BMCR,4,2                       ; @BMCR
	.comm	_ANLP,4,2                       ; @ANLP
	.comm	_BMCR_ANENABLE,2,1              ; @BMCR_ANENABLE
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_LPA_100HALF,2,1                ; @LPA_100HALF
	.comm	_LPA_100FULL,2,1                ; @LPA_100FULL
	.comm	_SPEED_100,8,3                  ; @SPEED_100
	.comm	_SPEED_10,8,3                   ; @SPEED_10
	.comm	_DUPLEX_FULL,8,3                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,8,3                ; @DUPLEX_HALF
	.comm	_LPA_10FULL,2,1                 ; @LPA_10FULL
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_BMCR_SPEED100,2,1              ; @BMCR_SPEED100
	.comm	_BMCR_FULLDPLX,2,1              ; @BMCR_FULLDPLX
	.no_dead_strip	_rtl8150_get_settings
.subsections_via_symbols
