	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enic_get_settings
_enic_get_settings:                     ## @enic_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	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rcx
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%edx, (%rbx)
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rcx
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	%rax, %r14
	movl	%edx, 4(%rbx)
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_XCVR_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%r15, %rdi
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_vnic_dev_port_speed
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ethtool_cmd_speed_set
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_3
LBB0_2:
	movl	$-1, %r14d
	movq	%rbx, %rdi
	movl	$-1, %esi
	callq	_ethtool_cmd_speed_set
LBB0_3:
	movl	%r14d, 8(%rbx)
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_10000baseT_Full,4,2  ## @SUPPORTED_10000baseT_Full
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
	.comm	_ADVERTISED_10000baseT_Full,4,2 ## @ADVERTISED_10000baseT_Full
	.comm	_ADVERTISED_FIBRE,4,2           ## @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_XCVR_EXTERNAL,4,2              ## @XCVR_EXTERNAL
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.no_dead_strip	_enic_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enic_get_settings
_enic_get_settings:                     ; @enic_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
Lloh0:
	adrp	x8, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SUPPORTED_FIBRE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh6:
	adrp	x8, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh8:
	adrp	x9, _ADVERTISED_FIBRE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ADVERTISED_FIBRE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh12:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _XCVR_EXTERNAL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XCVR_EXTERNAL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	mov	x0, x21
	bl	_netif_carrier_ok
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_vnic_dev_port_speed
	mov	x1, x0
	mov	x0, x19
	bl	_ethtool_cmd_speed_set
Lloh18:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	b	LBB0_3
LBB0_2:
	mov	w20, #-1
	mov	x0, x19
	mov	w1, #-1
	bl	_ethtool_cmd_speed_set
LBB0_3:
Lloh21:
	adrp	x8, _AUTONEG_DISABLE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	stp	w20, w8, [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	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
	.comm	_ADVERTISED_10000baseT_Full,4,2 ; @ADVERTISED_10000baseT_Full
	.comm	_ADVERTISED_FIBRE,4,2           ; @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_XCVR_EXTERNAL,4,2              ; @XCVR_EXTERNAL
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.no_dead_strip	_enic_get_settings
.subsections_via_symbols
