	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bdx_get_settings
_bdx_get_settings:                      ## @bdx_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
	callq	_netdev_priv
	movl	(%rax), %edi
	movl	4(%rax), %r14d
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rax
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rax
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%rbx)
	movq	_SPEED_10000@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_DUPLEX_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_XCVR_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	callq	_GET_PCK_TH
	movq	_PCK_TH_MULT@GOTPCREL(%rip), %r15
	imull	(%r15), %eax
	movq	_BDX_TXF_DESC_SZ@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, 8(%rbx)
	movl	%r14d, %edi
	callq	_GET_PCK_TH
	imull	(%r15), %eax
	sarl	$2, %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	_SPEED_10000,4,2                ## @SPEED_10000
	.comm	_DUPLEX_FULL,4,2                ## @DUPLEX_FULL
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_XCVR_EXTERNAL,4,2              ## @XCVR_EXTERNAL
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_PCK_TH_MULT,4,2                ## @PCK_TH_MULT
	.comm	_BDX_TXF_DESC_SZ,4,2            ## @BDX_TXF_DESC_SZ
	.no_dead_strip	_bdx_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bdx_get_settings
_bdx_get_settings:                      ; @bdx_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
	bl	_netdev_priv
	ldp	w0, w20, [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, _SPEED_10000@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh15:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh17:
	adrp	x9, _PORT_FIBRE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PORT_FIBRE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh21:
	adrp	x8, _XCVR_EXTERNAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _XCVR_EXTERNAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _AUTONEG_DISABLE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	bl	_GET_PCK_TH
Lloh27:
	adrp	x21, _PCK_TH_MULT@GOTPAGE
Lloh28:
	ldr	x21, [x21, _PCK_TH_MULT@GOTPAGEOFF]
	ldr	w8, [x21]
	mul	w8, w8, w0
Lloh29:
	adrp	x9, _BDX_TXF_DESC_SZ@GOTPAGE
Lloh30:
	ldr	x9, [x9, _BDX_TXF_DESC_SZ@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	sdiv	w8, w8, w9
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_GET_PCK_TH
	ldr	w8, [x21]
	mul	w8, w8, w0
	asr	w8, w8, #2
	str	w8, [x19, #12]
	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	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.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
	.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	_SPEED_10000,4,2                ; @SPEED_10000
	.comm	_DUPLEX_FULL,4,2                ; @DUPLEX_FULL
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_XCVR_EXTERNAL,4,2              ; @XCVR_EXTERNAL
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_PCK_TH_MULT,4,2                ; @PCK_TH_MULT
	.comm	_BDX_TXF_DESC_SZ,4,2            ; @BDX_TXF_DESC_SZ
	.no_dead_strip	_bdx_get_settings
.subsections_via_symbols
