	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_set_pauseparam
_qede_set_pauseparam:                   ## @qede_set_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	(%rax), %rax
	movl	(%rbx), %edi
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	*8(%rax)
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_QED_LINK_OVERRIDE_PAUSE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -28(%rbp)
	cmpq	$0, 16(%r14)
	je	LBB0_8
## %bb.5:
	movq	_QED_LM_Autoneg_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -56(%rbp)
	je	LBB0_6
## %bb.7:
	movq	_QED_LINK_PAUSE_AUTONEG_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -32(%rbp)
LBB0_8:
	cmpq	$0, 8(%r14)
	je	LBB0_10
## %bb.9:
	movq	_QED_LINK_PAUSE_RX_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -32(%rbp)
LBB0_10:
	cmpq	$0, (%r14)
	je	LBB0_12
## %bb.11:
	movq	_QED_LINK_PAUSE_TX_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -32(%rbp)
LBB0_12:
	movl	$1, -36(%rbp)
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rbx), %edi
	leaq	-40(%rbp), %rsi
	callq	*(%rax)
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_INFO
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DP_INFO
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Pause settings are not allowed to be changed\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_QED_LINK_OVERRIDE_PAUSE_CONFIG,4,2 ## @QED_LINK_OVERRIDE_PAUSE_CONFIG
	.comm	_QED_LM_Autoneg_BIT,4,2         ## @QED_LM_Autoneg_BIT
L_.str.1:                               ## @.str.1
	.asciz	"autoneg not supported\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QED_LINK_PAUSE_AUTONEG_ENABLE,4,2 ## @QED_LINK_PAUSE_AUTONEG_ENABLE
	.comm	_QED_LINK_PAUSE_RX_ENABLE,4,2   ## @QED_LINK_PAUSE_RX_ENABLE
	.comm	_QED_LINK_PAUSE_TX_ENABLE,4,2   ## @QED_LINK_PAUSE_TX_ENABLE
	.no_dead_strip	_qede_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qede_set_pauseparam
_qede_set_pauseparam:                   ; @qede_set_pauseparam
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	ldr	w0, [x19]
	blr	x8
	cbz	w0, LBB0_10
; %bb.2:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	ldr	w0, [x19]
	mov	x1, sp
	blr	x8
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _QED_LINK_OVERRIDE_PAUSE_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_LINK_OVERRIDE_PAUSE_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #28]
	orr	w8, w9, w8
	str	w8, [sp, #28]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.3:
	ldr	w8, [sp]
Lloh3:
	adrp	x9, _QED_LM_Autoneg_BIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QED_LM_Autoneg_BIT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.4:
Lloh6:
	adrp	x8, _QED_LINK_PAUSE_AUTONEG_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_LINK_PAUSE_AUTONEG_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
LBB0_5:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _QED_LINK_PAUSE_RX_ENABLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _QED_LINK_PAUSE_RX_ENABLE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
LBB0_7:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.8:
Lloh12:
	adrp	x8, _QED_LINK_PAUSE_TX_ENABLE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QED_LINK_PAUSE_TX_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [sp, #24]
	orr	w8, w9, w8
	str	w8, [sp, #24]
LBB0_9:
	mov	w8, #1
	str	w8, [sp, #20]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w0, [x19]
	add	x1, sp, #16
	blr	x8
	mov	w0, #0
	b	LBB0_12
LBB0_10:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
Lloh17:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_13:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_DP_INFO
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Pause settings are not allowed to be changed\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_QED_LINK_OVERRIDE_PAUSE_CONFIG,4,2 ; @QED_LINK_OVERRIDE_PAUSE_CONFIG
	.comm	_QED_LM_Autoneg_BIT,4,2         ; @QED_LM_Autoneg_BIT
l_.str.1:                               ; @.str.1
	.asciz	"autoneg not supported\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QED_LINK_PAUSE_AUTONEG_ENABLE,4,2 ; @QED_LINK_PAUSE_AUTONEG_ENABLE
	.comm	_QED_LINK_PAUSE_RX_ENABLE,4,2   ; @QED_LINK_PAUSE_RX_ENABLE
	.comm	_QED_LINK_PAUSE_TX_ENABLE,4,2   ; @QED_LINK_PAUSE_TX_ENABLE
	.no_dead_strip	_qede_set_pauseparam
.subsections_via_symbols
