	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atl1c_get_settings
_atl1c_get_settings:                    ## @atl1c_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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	_SUPPORTED_10baseT_Half@GOTPCREL(%rip), %rdx
	movq	_SUPPORTED_10baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rdx), %ecx
	movq	_SUPPORTED_100baseT_Half@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_SUPPORTED_100baseT_Full@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	%rax, %r14
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_ATL1C_LINK_CAP_1000M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%r14)
	je	LBB0_2
## %bb.1:
	movq	_SUPPORTED_1000baseT_Full@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
LBB0_2:
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movl	20(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 28(%rbx)
	movq	_PORT_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	(%r14), %rsi
	movq	_SPEED_0@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	jne	LBB0_4
## %bb.3:
	movl	$-1, %r14d
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_ethtool_cmd_speed_set
	jmp	LBB0_8
LBB0_4:
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ethtool_cmd_speed_set
	movq	8(%r14), %rax
	movq	_FULL_DUPLEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_DUPLEX_HALF@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r14d
LBB0_8:
	movl	%r14d, 4(%rbx)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	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	_ATL1C_LINK_CAP_1000M,4,2       ## @ATL1C_LINK_CAP_1000M
	.comm	_SUPPORTED_1000baseT_Full,4,2   ## @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_TP,4,2              ## @ADVERTISED_TP
	.comm	_PORT_TP,4,2                    ## @PORT_TP
	.comm	_XCVR_INTERNAL,4,2              ## @XCVR_INTERNAL
	.comm	_SPEED_0,8,3                    ## @SPEED_0
	.comm	_FULL_DUPLEX,8,3                ## @FULL_DUPLEX
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ## @DUPLEX_HALF
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.no_dead_strip	_atl1c_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atl1c_get_settings
_atl1c_get_settings:                    ; @atl1c_get_settings
	.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
	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
	str	w8, [x19]
	ldr	w9, [x0, #16]
Lloh18:
	adrp	x10, _ATL1C_LINK_CAP_1000M@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ATL1C_LINK_CAP_1000M@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh21:
	adrp	x9, _SUPPORTED_1000baseT_Full@GOTPAGE
Lloh22:
	ldr	x9, [x9, _SUPPORTED_1000baseT_Full@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
Lloh24:
	adrp	x8, _ADVERTISED_TP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ADVERTISED_TP@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x20, #20]
	orr	w8, w9, w8
Lloh27:
	adrp	x9, _PORT_TP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PORT_TP@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	str	xzr, [x19, #16]
Lloh30:
	adrp	x8, _XCVR_INTERNAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _XCVR_INTERNAL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	x1, [x20]
Lloh33:
	adrp	x8, _SPEED_0@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SPEED_0@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	cmp	x1, x8
	b.ne	LBB0_4
; %bb.3:
	mov	w20, #-1
	mov	x0, x19
	mov	w1, #-1
	bl	_ethtool_cmd_speed_set
	b	LBB0_8
LBB0_4:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_ethtool_cmd_speed_set
	ldr	x8, [x20, #8]
Lloh36:
	adrp	x9, _FULL_DUPLEX@GOTPAGE
Lloh37:
	ldr	x9, [x9, _FULL_DUPLEX@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh39:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh41:
	adrp	x8, _DUPLEX_HALF@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DUPLEX_HALF@GOTPAGEOFF]
LBB0_7:
	ldr	w20, [x8]
LBB0_8:
Lloh43:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	stp	w20, w8, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.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	_ATL1C_LINK_CAP_1000M,4,2       ; @ATL1C_LINK_CAP_1000M
	.comm	_SUPPORTED_1000baseT_Full,4,2   ; @SUPPORTED_1000baseT_Full
	.comm	_ADVERTISED_TP,4,2              ; @ADVERTISED_TP
	.comm	_PORT_TP,4,2                    ; @PORT_TP
	.comm	_XCVR_INTERNAL,4,2              ; @XCVR_INTERNAL
	.comm	_SPEED_0,8,3                    ; @SPEED_0
	.comm	_FULL_DUPLEX,8,3                ; @FULL_DUPLEX
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_DUPLEX_HALF,4,2                ; @DUPLEX_HALF
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.no_dead_strip	_atl1c_get_settings
.subsections_via_symbols
