	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_set_rxq_coalesce           ## -- Begin function qed_set_rxq_coalesce
	.p2align	4, 0x90
_qed_set_rxq_coalesce:                  ## @qed_set_rxq_coalesce
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	cmpl	$128, %edx
	jl	LBB0_4
## %bb.1:
	movl	$1, %ebx
	cmpl	$256, %r13d                     ## imm = 0x100
	jb	LBB0_4
## %bb.2:
	movl	$2, %ebx
	cmpl	$512, %r13d                     ## imm = 0x200
	jae	LBB0_3
LBB0_4:
	movl	4(%r12), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	xorl	%r8d, %r8d
	callq	_qed_int_set_timer_res
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	%ebx, %ecx
	sarl	%cl, %r13d
	movq	_BAR0_MAP_REG_USDM_RAM@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%r12), %edi
	callq	_USTORM_ETH_QUEUE_ZONE_OFFSET
	addq	%rax, %rbx
	leaq	-48(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	$4, %r8d
	movl	%r13d, %r9d
	callq	_qed_set_coalesce
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %edx
	callq	_DP_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid coalesce value - %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BAR0_MAP_REG_USDM_RAM,8,3      ## @BAR0_MAP_REG_USDM_RAM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_set_rxq_coalesce           ; -- Begin function qed_set_rxq_coalesce
	.p2align	2
_qed_set_rxq_coalesce:                  ; @qed_set_rxq_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cmp	w2, #128
	b.ge	LBB0_2
; %bb.1:
	mov	w23, #0
	b	LBB0_6
LBB0_2:
	cmp	w21, #256
	b.hs	LBB0_4
; %bb.3:
	mov	w23, #1
	b	LBB0_6
LBB0_4:
	cmp	w21, #512
	b.hs	LBB0_8
; %bb.5:
	mov	w23, #2
LBB0_6:
	ldr	w3, [x22, #4]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	mov	w4, #0
	bl	_qed_int_set_timer_res
	cbnz	w0, LBB0_9
; %bb.7:
	asr	w21, w21, w23
Lloh0:
	adrp	x8, _BAR0_MAP_REG_USDM_RAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BAR0_MAP_REG_USDM_RAM@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	w0, [x22]
	bl	_USTORM_ETH_QUEUE_ZONE_OFFSET
	add	x2, x0, x23
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w4, #4
	mov	x5, x21
	bl	_qed_set_coalesce
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_DP_ERR
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid coalesce value - %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BAR0_MAP_REG_USDM_RAM,8,3      ; @BAR0_MAP_REG_USDM_RAM
.subsections_via_symbols
