	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_set_pauseparam
_mlx4_en_set_pauseparam:                ## @mlx4_en_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	cmpq	$0, (%r14)
	movq	24(%rbx), %rdx
	setne	%cl
	movl	%ecx, (%rax)
	xorl	%r9d, %r9d
	cmpq	$0, 8(%r14)
	setne	%r9b
	movl	%r9d, 4(%rax)
	movl	(%rdx), %edi
	movl	16(%rbx), %esi
	movq	_ETH_FCS_LEN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	addq	8(%rbx), %rdx
	movl	8(%rax), %r10d
	movl	12(%rax), %r8d
	movl	%r10d, (%rsp)
	callq	_mlx4_SET_PORT_general
	movl	%eax, %r14d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_en_err
LBB0_2:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_FCS_LEN,8,3                ## @ETH_FCS_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed setting pause params\n"

	.no_dead_strip	_mlx4_en_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_set_pauseparam
_mlx4_en_set_pauseparam:                ; @mlx4_en_set_pauseparam
	.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	x20, x1
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #24]
	ldr	q0, [x20]
	cmtst.2d	v0, v0, v0
	xtn.2s	v0, v0
	movi.2s	v1, #1
	and.8b	v0, v0, v1
	ldp	x9, x10, [x0]
	str	d0, [x9]
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
Lloh0:
	adrp	x8, _ETH_FCS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_FCS_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x2, x8, x10
	ldp	w6, w4, [x9, #8]
	mov.s	w5, v0[1]
	fmov	w3, s0
	bl	_mlx4_SET_PORT_general
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_en_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_FCS_LEN,8,3                ; @ETH_FCS_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed setting pause params\n"

	.no_dead_strip	_mlx4_en_set_pauseparam
.subsections_via_symbols
