	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_get_pauseparam
_ice_get_pauseparam:                    ## @ice_get_pauseparam
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	(%rax), %r12
	movq	8(%r12), %r15
	movq	$0, (%r14)
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %rbx
	movq	_ICE_AQC_REPORT_SW_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_ice_aq_get_phy_caps
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movl	(%rbx), %eax
	movq	_ICE_AQC_PHY_AN_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	jne	LBB0_3
## %bb.4:
	movq	_AUTONEG_DISABLE@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_AUTONEG_ENABLE@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	movl	%ecx, 8(%r14)
	cmpq	$0, (%r15)
	jne	LBB0_10
## %bb.6:
	movq	_ICE_AQC_PHY_EN_TX_LINK_PAUSE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movl	$1, 4(%r14)
LBB0_8:
	movq	_ICE_AQC_PHY_EN_RX_LINK_PAUSE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:
	movl	$1, (%r14)
LBB0_10:
	movq	(%r12), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_devm_kfree                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ICE_AQC_REPORT_SW_CFG,4,2      ## @ICE_AQC_REPORT_SW_CFG
	.comm	_ICE_AQC_PHY_AN_MODE,4,2        ## @ICE_AQC_PHY_AN_MODE
	.comm	_AUTONEG_ENABLE,4,2             ## @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ## @AUTONEG_DISABLE
	.comm	_ICE_AQC_PHY_EN_TX_LINK_PAUSE,4,2 ## @ICE_AQC_PHY_EN_TX_LINK_PAUSE
	.comm	_ICE_AQC_PHY_EN_RX_LINK_PAUSE,4,2 ## @ICE_AQC_PHY_EN_RX_LINK_PAUSE
	.no_dead_strip	_ice_get_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_get_pauseparam
_ice_get_pauseparam:                    ; @ice_get_pauseparam
	.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
	ldr	x22, [x0]
	ldr	x21, [x22, #8]
	str	xzr, [x19]
	ldr	x8, [x22]
	ldr	x0, [x8]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #4
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _ICE_AQC_REPORT_SW_CFG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_AQC_REPORT_SW_CFG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x20
	mov	x4, #0
	bl	_ice_aq_get_phy_caps
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	w8, [x20]
Lloh6:
	adrp	x9, _ICE_AQC_PHY_AN_MODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ICE_AQC_PHY_AN_MODE@GOTPAGEOFF]
Lloh8:
	adrp	x10, _AUTONEG_ENABLE@GOTPAGE
Lloh9:
	ldr	x10, [x10, _AUTONEG_ENABLE@GOTPAGEOFF]
Lloh10:
	adrp	x11, _AUTONEG_DISABLE@GOTPAGE
Lloh11:
	ldr	x11, [x11, _AUTONEG_DISABLE@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	csel	x9, x11, x10, eq
	ldr	w9, [x9]
	str	w9, [x19, #8]
	ldr	x9, [x21]
	cbnz	x9, LBB0_7
; %bb.3:
Lloh13:
	adrp	x9, _ICE_AQC_PHY_EN_TX_LINK_PAUSE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _ICE_AQC_PHY_EN_TX_LINK_PAUSE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	w9, #1
	str	w9, [x19, #4]
LBB0_5:
Lloh16:
	adrp	x9, _ICE_AQC_PHY_EN_RX_LINK_PAUSE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ICE_AQC_PHY_EN_RX_LINK_PAUSE@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [x19]
LBB0_7:
	ldr	x8, [x22]
	ldr	x0, [x8]
	mov	x1, x20
	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
	b	_devm_kfree
LBB0_8:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ICE_AQC_REPORT_SW_CFG,4,2      ; @ICE_AQC_REPORT_SW_CFG
	.comm	_ICE_AQC_PHY_AN_MODE,4,2        ; @ICE_AQC_PHY_AN_MODE
	.comm	_AUTONEG_ENABLE,4,2             ; @AUTONEG_ENABLE
	.comm	_AUTONEG_DISABLE,4,2            ; @AUTONEG_DISABLE
	.comm	_ICE_AQC_PHY_EN_TX_LINK_PAUSE,4,2 ; @ICE_AQC_PHY_EN_TX_LINK_PAUSE
	.comm	_ICE_AQC_PHY_EN_RX_LINK_PAUSE,4,2 ; @ICE_AQC_PHY_EN_RX_LINK_PAUSE
	.no_dead_strip	_ice_get_pauseparam
.subsections_via_symbols
