	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_set_q_coalesce
_ice_set_q_coalesce:                    ## @ice_set_q_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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	4(%rdi), %r13d
	cmpl	%edx, (%rdi)
	jle	LBB0_6
## %bb.1:
	movq	_ICE_RX_CONTAINER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%r15), %rax
	movslq	%ebx, %r12
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rdx
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_ice_set_rc_coalesce
	cmpl	%ebx, %r13d
	jle	LBB0_8
## %bb.2:
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:
	movq	_ICE_TX_CONTAINER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rax
	movq	(%rax,%r12,8), %rax
	jmp	LBB0_4
LBB0_6:
	cmpl	%ebx, %r13d
	jle	LBB0_9
## %bb.7:
	movq	_ICE_TX_CONTAINER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rax
LBB0_4:
	movq	(%rax), %rdx
	movq	%r14, %rsi
	movq	%r15, %rcx
	callq	_ice_set_rc_coalesce
	testq	%rax, %rax
	je	LBB0_5
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_8:
	testq	%rax, %rax
	jne	LBB0_9
LBB0_5:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_RX_CONTAINER,4,2           ## @ICE_RX_CONTAINER
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ICE_TX_CONTAINER,4,2           ## @ICE_TX_CONTAINER
	.no_dead_strip	_ice_set_q_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_set_q_coalesce
_ice_set_q_coalesce:                    ; @ice_set_q_coalesce
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldp	w8, w22, [x0]
	cmp	w8, w2
	b.le	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ICE_RX_CONTAINER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_RX_CONTAINER@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, w21, sxtw #3]
	ldr	x2, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_ice_set_rc_coalesce
	cmp	w22, w21
	b.le	LBB0_9
; %bb.2:
	cbnz	x0, LBB0_7
; %bb.3:
Lloh3:
	adrp	x8, _ICE_TX_CONTAINER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_TX_CONTAINER@GOTPAGEOFF]
	sxtw	x9, w21
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	b	LBB0_6
LBB0_4:
	cmp	w22, w21
	b.le	LBB0_7
; %bb.5:
Lloh6:
	adrp	x8, _ICE_TX_CONTAINER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_TX_CONTAINER@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w21, sxtw #3]
LBB0_6:
	ldr	x2, [x8]
	mov	x1, x20
	mov	x3, x19
	bl	_ice_set_rc_coalesce
	cbz	x0, LBB0_8
LBB0_7:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	cbnz	x0, LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_RX_CONTAINER,4,2           ; @ICE_RX_CONTAINER
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ICE_TX_CONTAINER,4,2           ; @ICE_TX_CONTAINER
	.no_dead_strip	_ice_set_q_coalesce
.subsections_via_symbols
