	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmvnic_get_link_ksettings
_ibmvnic_get_link_ksettings:            ## @ibmvnic_get_link_ksettings
	.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, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_send_query_phys_parms
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_DUPLEX_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movl	(%rbx), %ecx
	movl	4(%rbx), %eax
LBB0_3:
	movl	%eax, 24(%r14)
	movl	%ecx, 20(%r14)
	movq	_PORT_FIBRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	$0, 8(%r14)
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPEED_UNKNOWN,4,2              ## @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ## @DUPLEX_UNKNOWN
	.comm	_PORT_FIBRE,4,2                 ## @PORT_FIBRE
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.no_dead_strip	_ibmvnic_get_link_ksettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmvnic_get_link_ksettings
_ibmvnic_get_link_ksettings:            ; @ibmvnic_get_link_ksettings
	.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
	mov	x20, x0
	bl	_send_query_phys_parms
	cbz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SPEED_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SPEED_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DUPLEX_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DUPLEX_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x20]
	b	LBB0_3
LBB0_2:
	ldp	w9, w8, [x20]
LBB0_3:
	str	w8, [x19, #24]
Lloh6:
	adrp	x8, _PORT_FIBRE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PORT_FIBRE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	stp	w8, w9, [x19, #16]
	str	xzr, [x19, #8]
Lloh9:
	adrp	x8, _AUTONEG_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SPEED_UNKNOWN,4,2              ; @SPEED_UNKNOWN
	.comm	_DUPLEX_UNKNOWN,4,2             ; @DUPLEX_UNKNOWN
	.comm	_PORT_FIBRE,4,2                 ; @PORT_FIBRE
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.no_dead_strip	_ibmvnic_get_link_ksettings
.subsections_via_symbols
