	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_settings
_get_settings:                          ## @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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rdi
	movq	_FW_PORT_TYPE_BT_SGMII@GOTPCREL(%rip), %rax
	movq	_PORT_TP@GOTPCREL(%rip), %rcx
	cmpq	(%rax), %rdi
	je	LBB0_10
## %bb.1:
	movq	_FW_PORT_TYPE_BT_XFI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_10
## %bb.2:
	movq	_FW_PORT_TYPE_BT_XAUI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_10
## %bb.3:
	movq	_FW_PORT_TYPE_FIBER_XFI@GOTPCREL(%rip), %rdx
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rcx
	cmpq	(%rdx), %rdi
	je	LBB0_10
## %bb.4:
	movq	_FW_PORT_TYPE_FIBER_XAUI@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_10
## %bb.5:
	movq	_FW_PORT_TYPE_SFP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jne	LBB0_6
## %bb.7:
	movq	8(%r14), %rdx
	movq	_FW_PORT_MOD_TYPE_TWINAX_PASSIVE@GOTPCREL(%rip), %r8
	movq	_FW_PORT_MOD_TYPE_TWINAX_ACTIVE@GOTPCREL(%rip), %r9
	movq	_PORT_DA@GOTPCREL(%rip), %rsi
	movq	%rsi, %rcx
	cmpq	(%r9), %rdx
	je	LBB0_9
## %bb.8:
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rcx
LBB0_9:
	cmpq	(%r8), %rdx
	cmoveq	%rsi, %rcx
	jmp	LBB0_10
LBB0_6:
	movq	_PORT_OTHER@GOTPCREL(%rip), %rcx
LBB0_10:
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rbx)
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	js	LBB0_15
## %bb.11:
	movq	%rcx, (%rbx)
	cmpq	(%rax), %rdi
	jne	LBB0_12
## %bb.13:
	movq	_MDIO_SUPPORTS_C22@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_15:
	movq	$0, (%rbx)
	movq	_XCVR_INTERNAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_12:
	movq	_MDIO_SUPPORTS_C45@GOTPCREL(%rip), %rax
LBB0_14:
	movq	(%rax), %rax
	movq	_XCVR_EXTERNAL@GOTPCREL(%rip), %rcx
LBB0_16:
	movl	(%rcx), %ecx
	movl	%ecx, 56(%rbx)
	movq	%rax, 48(%rbx)
	movl	36(%r14), %esi
	callq	_from_fw_linkcaps
	movq	%rax, 40(%rbx)
	movq	(%r14), %rdi
	movl	32(%r14), %esi
	callq	_from_fw_linkcaps
	movq	%rax, 32(%rbx)
	movq	%r15, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	28(%r14), %esi
	jmp	LBB0_19
LBB0_17:
	xorl	%esi, %esi
LBB0_19:
	movq	%rbx, %rdi
	callq	_ethtool_cmd_speed_set
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	24(%r14), %eax
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PORT_TYPE_BT_SGMII,8,3      ## @FW_PORT_TYPE_BT_SGMII
	.comm	_FW_PORT_TYPE_BT_XFI,8,3        ## @FW_PORT_TYPE_BT_XFI
	.comm	_FW_PORT_TYPE_BT_XAUI,8,3       ## @FW_PORT_TYPE_BT_XAUI
	.comm	_PORT_TP,8,3                    ## @PORT_TP
	.comm	_FW_PORT_TYPE_FIBER_XFI,8,3     ## @FW_PORT_TYPE_FIBER_XFI
	.comm	_FW_PORT_TYPE_FIBER_XAUI,8,3    ## @FW_PORT_TYPE_FIBER_XAUI
	.comm	_PORT_FIBRE,8,3                 ## @PORT_FIBRE
	.comm	_FW_PORT_TYPE_SFP,8,3           ## @FW_PORT_TYPE_SFP
	.comm	_FW_PORT_MOD_TYPE_TWINAX_PASSIVE,8,3 ## @FW_PORT_MOD_TYPE_TWINAX_PASSIVE
	.comm	_FW_PORT_MOD_TYPE_TWINAX_ACTIVE,8,3 ## @FW_PORT_MOD_TYPE_TWINAX_ACTIVE
	.comm	_PORT_DA,8,3                    ## @PORT_DA
	.comm	_PORT_OTHER,8,3                 ## @PORT_OTHER
	.comm	_XCVR_EXTERNAL,4,2              ## @XCVR_EXTERNAL
	.comm	_MDIO_SUPPORTS_C22,8,3          ## @MDIO_SUPPORTS_C22
	.comm	_MDIO_SUPPORTS_C45,8,3          ## @MDIO_SUPPORTS_C45
	.comm	_XCVR_INTERNAL,4,2              ## @XCVR_INTERNAL
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.no_dead_strip	_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_settings
_get_settings:                          ; @get_settings
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	bl	_netdev_priv
	mov	x20, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _FW_PORT_TYPE_BT_SGMII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PORT_TYPE_BT_SGMII@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _FW_PORT_TYPE_BT_XFI@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FW_PORT_TYPE_BT_XFI@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
Lloh5:
	adrp	x11, _FW_PORT_TYPE_BT_XAUI@GOTPAGE
Lloh6:
	ldr	x11, [x11, _FW_PORT_TYPE_BT_XAUI@GOTPAGEOFF]
Lloh7:
	ldr	x11, [x11]
	cmp	x0, x9
	ccmp	x0, x10, #4, ne
	ccmp	x0, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x9, _PORT_TP@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PORT_TP@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh10:
	adrp	x9, _FW_PORT_TYPE_FIBER_XFI@GOTPAGE
Lloh11:
	ldr	x9, [x9, _FW_PORT_TYPE_FIBER_XFI@GOTPAGEOFF]
Lloh12:
	adrp	x10, _FW_PORT_TYPE_FIBER_XAUI@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FW_PORT_TYPE_FIBER_XAUI@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x9]
Lloh15:
	ldr	x10, [x10]
Lloh16:
	adrp	x9, _PORT_FIBRE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _PORT_FIBRE@GOTPAGEOFF]
	cmp	x0, x11
	ccmp	x0, x10, #4, ne
	b.eq	LBB0_6
; %bb.3:
Lloh18:
	adrp	x10, _FW_PORT_TYPE_SFP@GOTPAGE
Lloh19:
	ldr	x10, [x10, _FW_PORT_TYPE_SFP@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x0, x10
	b.ne	LBB0_5
; %bb.4:
	ldr	x10, [x20, #8]
Lloh21:
	adrp	x11, _FW_PORT_MOD_TYPE_TWINAX_PASSIVE@GOTPAGE
Lloh22:
	ldr	x11, [x11, _FW_PORT_MOD_TYPE_TWINAX_PASSIVE@GOTPAGEOFF]
Lloh23:
	ldr	x11, [x11]
Lloh24:
	adrp	x12, _FW_PORT_MOD_TYPE_TWINAX_ACTIVE@GOTPAGE
Lloh25:
	ldr	x12, [x12, _FW_PORT_MOD_TYPE_TWINAX_ACTIVE@GOTPAGEOFF]
Lloh26:
	ldr	x12, [x12]
	cmp	x10, x12
	ccmp	x10, x11, #4, ne
Lloh27:
	adrp	x10, _PORT_DA@GOTPAGE
Lloh28:
	ldr	x10, [x10, _PORT_DA@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	b	LBB0_6
LBB0_5:
Lloh29:
	adrp	x9, _PORT_OTHER@GOTPAGE
Lloh30:
	ldr	x9, [x9, _PORT_OTHER@GOTPAGEOFF]
LBB0_6:
	ldr	x9, [x9]
	str	x9, [x19, #64]
	ldr	x9, [x20, #16]
	tbnz	x9, #63, LBB0_8
; %bb.7:
	str	x9, [x19]
Lloh31:
	adrp	x9, _MDIO_SUPPORTS_C22@GOTPAGE
Lloh32:
	ldr	x9, [x9, _MDIO_SUPPORTS_C22@GOTPAGEOFF]
Lloh33:
	adrp	x10, _MDIO_SUPPORTS_C45@GOTPAGE
Lloh34:
	ldr	x10, [x10, _MDIO_SUPPORTS_C45@GOTPAGEOFF]
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
Lloh35:
	adrp	x9, _XCVR_EXTERNAL@GOTPAGE
Lloh36:
	ldr	x9, [x9, _XCVR_EXTERNAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
	mov	x8, #0
	str	xzr, [x19]
Lloh37:
	adrp	x9, _XCVR_INTERNAL@GOTPAGE
Lloh38:
	ldr	x9, [x9, _XCVR_INTERNAL@GOTPAGEOFF]
LBB0_9:
	ldr	w9, [x9]
	str	w9, [x19, #56]
	str	x8, [x19, #48]
	ldr	w1, [x20, #36]
	bl	_from_fw_linkcaps
	str	x0, [x19, #40]
	ldr	x0, [x20]
	ldr	w1, [x20, #32]
	bl	_from_fw_linkcaps
	str	x0, [x19, #32]
	mov	x0, x21
	bl	_netif_carrier_ok
	cbz	x0, LBB0_11
; %bb.10:
	ldr	w1, [x20, #28]
	b	LBB0_12
LBB0_11:
	mov	w1, #0
LBB0_12:
	mov	x0, x19
	bl	_ethtool_cmd_speed_set
Lloh39:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	ldr	w9, [x20, #24]
	stp	w9, w8, [x19, #24]
	stp	xzr, xzr, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PORT_TYPE_BT_SGMII,8,3      ; @FW_PORT_TYPE_BT_SGMII
	.comm	_FW_PORT_TYPE_BT_XFI,8,3        ; @FW_PORT_TYPE_BT_XFI
	.comm	_FW_PORT_TYPE_BT_XAUI,8,3       ; @FW_PORT_TYPE_BT_XAUI
	.comm	_PORT_TP,8,3                    ; @PORT_TP
	.comm	_FW_PORT_TYPE_FIBER_XFI,8,3     ; @FW_PORT_TYPE_FIBER_XFI
	.comm	_FW_PORT_TYPE_FIBER_XAUI,8,3    ; @FW_PORT_TYPE_FIBER_XAUI
	.comm	_PORT_FIBRE,8,3                 ; @PORT_FIBRE
	.comm	_FW_PORT_TYPE_SFP,8,3           ; @FW_PORT_TYPE_SFP
	.comm	_FW_PORT_MOD_TYPE_TWINAX_PASSIVE,8,3 ; @FW_PORT_MOD_TYPE_TWINAX_PASSIVE
	.comm	_FW_PORT_MOD_TYPE_TWINAX_ACTIVE,8,3 ; @FW_PORT_MOD_TYPE_TWINAX_ACTIVE
	.comm	_PORT_DA,8,3                    ; @PORT_DA
	.comm	_PORT_OTHER,8,3                 ; @PORT_OTHER
	.comm	_XCVR_EXTERNAL,4,2              ; @XCVR_EXTERNAL
	.comm	_MDIO_SUPPORTS_C22,8,3          ; @MDIO_SUPPORTS_C22
	.comm	_MDIO_SUPPORTS_C45,8,3          ; @MDIO_SUPPORTS_C45
	.comm	_XCVR_INTERNAL,4,2              ; @XCVR_INTERNAL
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.no_dead_strip	_get_settings
.subsections_via_symbols
