	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_hwrm_set_ring_coal        ## -- Begin function bnxt_hwrm_set_ring_coal
	.p2align	4, 0x90
_bnxt_hwrm_set_ring_coal:               ## @bnxt_hwrm_set_ring_coal
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -40(%rbp)
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	8(%rbx), %eax
	movl	%eax, -28(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -32(%rbp)
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$-1, %ecx
	movl	$-1, %r8d
	callq	_bnxt_hwrm_cmd_hdr_init
	leaq	-32(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_bnxt_hwrm_set_coal_params
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_bnxt_cp_ring_for_rx
	movl	%eax, %edi
	callq	_cpu_to_le16
	movl	%eax, -40(%rbp)
	movq	_HWRM_CMD_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$8, %edx
	callq	_hwrm_send_message
	jmp	LBB0_3
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS,4,2 ## @HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS
	.comm	_HWRM_CMD_TIMEOUT,4,2           ## @HWRM_CMD_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_hwrm_set_ring_coal        ; -- Begin function bnxt_hwrm_set_ring_coal
	.p2align	2
_bnxt_hwrm_set_ring_coal:               ; @bnxt_hwrm_set_ring_coal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp, #8]
	mov	x0, sp
	mov	x1, x19
	mov	w2, #8
	bl	_memcpy
	ldur	d0, [x20, #4]
	str	d0, [sp]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w3, #-1
	mov	w4, #-1
	bl	_bnxt_hwrm_cmd_hdr_init
	mov	x1, sp
	add	x2, sp, #8
	mov	x0, x19
	bl	_bnxt_hwrm_set_coal_params
	ldr	w1, [x20]
	mov	x0, x19
	bl	_bnxt_cp_ring_for_rx
	bl	_cpu_to_le16
	str	w0, [sp, #8]
Lloh3:
	adrp	x8, _HWRM_CMD_TIMEOUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HWRM_CMD_TIMEOUT@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #8
	bl	_hwrm_send_message
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS,4,2 ; @HWRM_RING_CMPL_RING_CFG_AGGINT_PARAMS
	.comm	_HWRM_CMD_TIMEOUT,4,2           ; @HWRM_CMD_TIMEOUT
.subsections_via_symbols
