	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_rxq_intr_params
_set_rxq_intr_params:                   ## @set_rxq_intr_params
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%ecx, %eax
	orl	%edx, %eax
	movl	$1, %r13d
	cmovnel	%ecx, %r13d
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.1:
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_closest_thres
	movq	%rax, -48(%rbp)
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.2:
	cmpq	%rax, (%r14)
	je	LBB0_5
## %bb.3:
	movq	_FW_PARAMS_MNEM_DMAQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_PARAMS_MNEM_V
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_PARAMS_PARAM_X_V
	movq	%rax, %rbx
	orq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	movl	12(%r14), %edi
	callq	_FW_PARAMS_PARAM_YZ_V
	orq	%rbx, %rax
	movq	%rax, -64(%rbp)
	leaq	-64(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_t4vf_set_params
	testl	%eax, %eax
	jne	LBB0_10
## %bb.4:
	movq	-48(%rbp), %rax
LBB0_5:
	movq	%rax, (%r14)
LBB0_6:
	testl	%r15d, %r15d
	je	LBB0_7
## %bb.8:
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_closest_timer
	movl	%eax, %edi
	jmp	LBB0_9
LBB0_7:
	movq	_SGE_TIMER_RSTRT_CNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_9:
	callq	_QINTR_TIMER_IDX_V
	movl	%eax, %ebx
	xorl	%edi, %edi
	testl	%r13d, %r13d
	setne	%dil
	callq	_QINTR_CNT_EN_V
	orl	%ebx, %eax
	movl	%eax, 8(%r14)
	xorl	%eax, %eax
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_PARAMS_MNEM_DMAQ,4,2        ## @FW_PARAMS_MNEM_DMAQ
	.comm	_FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH,4,2 ## @FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH
	.comm	_SGE_TIMER_RSTRT_CNTR,4,2       ## @SGE_TIMER_RSTRT_CNTR
	.no_dead_strip	_set_rxq_intr_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_rxq_intr_params
_set_rxq_intr_params:                   ; @set_rxq_intr_params
	.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	x21, x2
	mov	x19, x1
	mov	x22, x0
	orr	w8, w3, w2
	cmp	w8, #0
	csinc	w20, w3, wzr, ne
	cbz	w20, LBB0_6
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	bl	_closest_thres
	str	x0, [sp]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	cmp	x8, x0
	b.eq	LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _FW_PARAMS_MNEM_DMAQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_PARAMS_MNEM_DMAQ@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FW_PARAMS_MNEM_V
	mov	x23, x0
Lloh3:
	adrp	x8, _FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_FW_PARAMS_PARAM_X_V
	orr	x23, x0, x23
	ldr	w0, [x19, #12]
	bl	_FW_PARAMS_PARAM_YZ_V
	orr	x8, x23, x0
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x22
	mov	w1, #1
	bl	_t4vf_set_params
	cbnz	w0, LBB0_10
; %bb.4:
	ldr	x0, [sp]
LBB0_5:
	str	x0, [x19]
LBB0_6:
	cbz	w21, LBB0_8
; %bb.7:
	mov	x0, x22
	mov	x1, x21
	bl	_closest_timer
	b	LBB0_9
LBB0_8:
Lloh6:
	adrp	x8, _SGE_TIMER_RSTRT_CNTR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SGE_TIMER_RSTRT_CNTR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
LBB0_9:
	bl	_QINTR_TIMER_IDX_V
	mov	x21, x0
	cmp	w20, #0
	cset	w0, ne
	bl	_QINTR_CNT_EN_V
	mov	x8, x0
	mov	w0, #0
	orr	w8, w8, w21
	str	w8, [x19, #8]
LBB0_10:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_PARAMS_MNEM_DMAQ,4,2        ; @FW_PARAMS_MNEM_DMAQ
	.comm	_FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH,4,2 ; @FW_PARAMS_PARAM_DMAQ_IQ_INTCNTTHRESH
	.comm	_SGE_TIMER_RSTRT_CNTR,4,2       ; @SGE_TIMER_RSTRT_CNTR
	.no_dead_strip	_set_rxq_intr_params
.subsections_via_symbols
