	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_get_settings
_bnad_get_settings:                     ## @bnad_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
	movq	_SUPPORTED_10000baseT_Full@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ADVERTISED_10000baseT_Full@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 52(%rsi)
	movq	_SUPPORTED_FIBRE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 48(%rsi)
	movq	_ADVERTISED_FIBRE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 44(%rsi)
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rsi)
	movq	$0, 32(%rsi)
	callq	_netif_carrier_ok
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_SPEED_10000@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	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, (%rbx)
	movq	_XCVR_EXTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	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	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.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
	.comm	_XCVR_EXTERNAL,4,2              ## @XCVR_EXTERNAL
	.no_dead_strip	_bnad_get_settings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_get_settings
_bnad_get_settings:                     ; @bnad_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
Lloh0:
	adrp	x8, _SUPPORTED_10000baseT_Full@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPPORTED_10000baseT_Full@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ADVERTISED_10000baseT_Full@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ADVERTISED_10000baseT_Full@GOTPAGEOFF]
Lloh5:
	adrp	x10, _SUPPORTED_FIBRE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _SUPPORTED_FIBRE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	ldr	w10, [x10]
	orr	w8, w10, w8
Lloh9:
	adrp	x10, _AUTONEG_DISABLE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	stp	w8, w10, [x1, #48]
Lloh12:
	adrp	x8, _ADVERTISED_FIBRE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ADVERTISED_FIBRE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _PORT_FIBRE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PORT_FIBRE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x1, #40]
	str	xzr, [x1, #32]
	bl	_netif_carrier_ok
	cbz	x0, LBB0_2
; %bb.1:
Lloh18:
	adrp	x8, _SPEED_10000@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SPEED_10000@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ethtool_cmd_speed_set
Lloh21:
	adrp	x8, _DUPLEX_FULL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DUPLEX_FULL@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	b	LBB0_3
LBB0_2:
	mov	w20, #-1
	mov	x0, x19
	mov	w1, #-1
	bl	_ethtool_cmd_speed_set
LBB0_3:
Lloh24:
	adrp	x8, _XCVR_EXTERNAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XCVR_EXTERNAL@GOTPAGEOFF]
	str	w20, [x19]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	stp	xzr, xzr, [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	Lloh15, Lloh16, Lloh17
	.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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPPORTED_10000baseT_Full,4,2  ; @SUPPORTED_10000baseT_Full
	.comm	_ADVERTISED_10000baseT_Full,4,2 ; @ADVERTISED_10000baseT_Full
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.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
	.comm	_XCVR_EXTERNAL,4,2              ; @XCVR_EXTERNAL
	.no_dead_strip	_bnad_get_settings
.subsections_via_symbols
