	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hl_int_hw_queue_update_ci      ## -- Begin function hl_int_hw_queue_update_ci
	.p2align	4, 0x90
_hl_int_hw_queue_update_ci:             ## @hl_int_hw_queue_update_ci
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movq	(%r15), %rax
	movq	%r15, %rdi
	callq	*8(%rax)
	cmpq	$0, 16(%r15)
	je	LBB0_1
LBB0_6:
	movq	(%r15), %rax
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
LBB0_1:
	movq	_HL_MAX_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	movq	8(%r15), %rcx
	movq	_QUEUE_TYPE_INT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$3, %rax
	xorl	%esi, %esi
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rsi
	cmpq	%rsi, %rax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, (%rcx,%rsi,2)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rdi
	movl	8(%rcx,%rsi,2), %ebx
	addl	(%rdi,%rsi), %ebx
	movl	12(%rcx,%rsi,2), %edi
	addl	%edi, %edi
	decl	%edi
	andl	%ebx, %edi
	movl	%edi, 8(%rcx,%rsi,2)
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_HL_MAX_QUEUES,4,2              ## @HL_MAX_QUEUES
	.comm	_QUEUE_TYPE_INT,8,3             ## @QUEUE_TYPE_INT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hl_int_hw_queue_update_ci      ; -- Begin function hl_int_hw_queue_update_ci
	.p2align	2
_hl_int_hw_queue_update_ci:             ; @hl_int_hw_queue_update_ci
	.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, x0
	ldr	x8, [x0, #8]
	ldr	x19, [x8]
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
LBB0_1:
	ldr	x8, [x19]
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x1
LBB0_2:
Lloh0:
	adrp	x8, _HL_MAX_QUEUES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HL_MAX_QUEUES@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
	cmp	w10, #1
	b.lt	LBB0_1
; %bb.3:
	mov	x8, #0
	ldr	x11, [x19, #8]
Lloh3:
	adrp	x9, _QUEUE_TYPE_INT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QUEUE_TYPE_INT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	lsl	x10, x10, #3
	add	x11, x11, #8
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x8, #8
	add	x11, x11, #16
	cmp	x10, x8
	b.eq	LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x11, #-8]
	cmp	x12, x9
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x12, [x20]
	ldr	w12, [x12, x8]
	ldp	w13, w14, [x11]
	lsl	w14, w14, #1
	sub	w14, w14, #1
	add	w12, w13, w12
	and	w12, w14, w12
	str	w12, [x11]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HL_MAX_QUEUES,4,2              ; @HL_MAX_QUEUES
	.comm	_QUEUE_TYPE_INT,8,3             ; @QUEUE_TYPE_INT
.subsections_via_symbols
