	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_get_settings
_ql_get_settings:                       ## @ql_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, (%rbx)
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_XCVR_EXTERNAL@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, 24(%rbx)
	movq	_STS_LINK_TYPE_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	(%rax), %esi
	movq	_STS_LINK_TYPE_10GBASET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_2
## %bb.1:
	movq	_SUPPORTED_TP@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SUPPORTED_Autoneg@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%rbx)
	movq	_ADVERTISED_TP@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_Autoneg@GOTPCREL(%rip), %rdx
	orl	(%rax), %ecx
	orl	(%rdx), %ecx
	movl	%ecx, 4(%rbx)
	movq	_PORT_TP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 20(%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%rbx)
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	movl	%eax, 16(%rbx)
	movq	_SPEED_10000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPPORTED_10000baseT_Full,4,2  ## @SUPPORTED_10000baseT_Full
	.comm	_ADVERTISED_10000baseT_Full,4,2 ## @ADVERTISED_10000baseT_Full
	.comm	_XCVR_EXTERNAL,4,2              ## @XCVR_EXTERNAL
	.comm	_STS_LINK_TYPE_MASK,4,2         ## @STS_LINK_TYPE_MASK
	.comm	_STS_LINK_TYPE_10GBASET,4,2     ## @STS_LINK_TYPE_10GBASET
	.comm	_SUPPORTED_TP,4,2               ## @SUPPORTED_TP
	.comm	_SUPPORTED_Autoneg,4,2          ## @SUPPORTED_Autoneg
	.comm	_ADVERTISED_TP,4,2              ## @ADVERTISED_TP
	.comm	_ADVERTISED_Autoneg,4,2         ## @ADVERTISED_Autoneg
	.comm	_PORT_TP,4,2                    ## @PORT_TP
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_SUPPORTED_FIBRE,4,2            ## @SUPPORTED_FIBRE
	.comm	_ADVERTISED_FIBRE,4,2           ## @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_SPEED_10000,4,2                ## @SPEED_10000
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.no_dead_strip	_ql_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_get_settings
_ql_get_settings:                       ; @ql_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
Lloh0:
	adrp	x8, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	str	w9, [x19]
Lloh3:
	adrp	x8, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh5:
	adrp	x10, _XCVR_EXTERNAL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _XCVR_EXTERNAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w10, [x10]
	str	w10, [x19, #24]
	ldr	w10, [x0]
Lloh9:
	adrp	x11, _STS_LINK_TYPE_MASK@GOTPAGE
Lloh10:
	ldr	x11, [x11, _STS_LINK_TYPE_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	and	w10, w11, w10
Lloh12:
	adrp	x11, _STS_LINK_TYPE_10GBASET@GOTPAGE
Lloh13:
	ldr	x11, [x11, _STS_LINK_TYPE_10GBASET@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	w10, w11
	b.ne	LBB0_2
; %bb.1:
Lloh15:
	adrp	x10, _SUPPORTED_TP@GOTPAGE
Lloh16:
	ldr	x10, [x10, _SUPPORTED_TP@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _SUPPORTED_Autoneg@GOTPAGE
Lloh19:
	ldr	x11, [x11, _SUPPORTED_Autoneg@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	orr	w9, w10, w9
	orr	w9, w9, w11
	str	w9, [x19]
Lloh21:
	adrp	x9, _ADVERTISED_TP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ADVERTISED_TP@GOTPAGEOFF]
Lloh23:
	adrp	x10, _ADVERTISED_Autoneg@GOTPAGE
Lloh24:
	ldr	x10, [x10, _ADVERTISED_Autoneg@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	ldr	w10, [x10]
	orr	w8, w9, w8
	orr	w8, w8, w10
Lloh27:
	adrp	x9, _PORT_TP@GOTPAGE
Lloh28:
	ldr	x9, [x9, _PORT_TP@GOTPAGEOFF]
	str	w8, [x19, #4]
Lloh29:
	ldr	w8, [x9]
Lloh30:
	adrp	x9, _AUTONEG_ENABLE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	str	w9, [x19, #20]
	b	LBB0_3
LBB0_2:
Lloh33:
	adrp	x10, _SUPPORTED_FIBRE@GOTPAGE
Lloh34:
	ldr	x10, [x10, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x19]
Lloh36:
	adrp	x9, _ADVERTISED_FIBRE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _ADVERTISED_FIBRE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
Lloh39:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
LBB0_3:
	str	w8, [x19, #16]
Lloh42:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
Lloh45:
	adrp	x9, _DUPLEX_FULL@GOTPAGE
Lloh46:
	ldr	x9, [x9, _DUPLEX_FULL@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_ADVERTISED_10000baseT_Full,4,2 ; @ADVERTISED_10000baseT_Full
	.comm	_XCVR_EXTERNAL,4,2              ; @XCVR_EXTERNAL
	.comm	_STS_LINK_TYPE_MASK,4,2         ; @STS_LINK_TYPE_MASK
	.comm	_STS_LINK_TYPE_10GBASET,4,2     ; @STS_LINK_TYPE_10GBASET
	.comm	_SUPPORTED_TP,4,2               ; @SUPPORTED_TP
	.comm	_SUPPORTED_Autoneg,4,2          ; @SUPPORTED_Autoneg
	.comm	_ADVERTISED_TP,4,2              ; @ADVERTISED_TP
	.comm	_ADVERTISED_Autoneg,4,2         ; @ADVERTISED_Autoneg
	.comm	_PORT_TP,4,2                    ; @PORT_TP
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_SUPPORTED_FIBRE,4,2            ; @SUPPORTED_FIBRE
	.comm	_ADVERTISED_FIBRE,4,2           ; @ADVERTISED_FIBRE
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_SPEED_10000,4,2                ; @SPEED_10000
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.no_dead_strip	_ql_get_settings
.subsections_via_symbols
