	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function t4_arm_cq
_t4_arm_cq:                             ## @t4_arm_cq
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	_CQ_ARMED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_set_bit
	movq	(%r15), %rax
	movq	_CIDXINC_M@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jle	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_SEINTARM_V
	movl	%eax, %ebx
	movq	(%r13), %rdi
	callq	_CIDXINC_V
	movl	%eax, %r12d
	movl	$7, %edi
	callq	_TIMERREG_V
	orl	%eax, %ebx
	orl	%r12d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_write_gts
	movq	(%r15), %rax
	subq	(%r13), %rax
	movq	%rax, (%r15)
	cmpq	(%r13), %rax
	jg	LBB0_1
LBB0_3:
	movl	%r14d, %edi
	callq	_SEINTARM_V
	movl	%eax, %ebx
	movq	(%r15), %rdi
	callq	_CIDXINC_V
	movl	%eax, %r14d
	movl	$6, %edi
	callq	_TIMERREG_V
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_write_gts
	movq	$0, (%r15)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CQ_ARMED,4,2                   ## @CQ_ARMED
	.comm	_CIDXINC_M,8,3                  ## @CIDXINC_M
	.no_dead_strip	_t4_arm_cq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function t4_arm_cq
_t4_arm_cq:                             ; @t4_arm_cq
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _CQ_ARMED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CQ_ARMED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_set_bit
	ldr	x8, [x19]
Lloh3:
	adrp	x22, _CIDXINC_M@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CIDXINC_M@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	cmp	x8, x9
	b.le	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #0
	bl	_SEINTARM_V
	mov	x21, x0
	ldr	x0, [x22]
	bl	_CIDXINC_V
	orr	w21, w0, w21
	mov	w0, #7
	bl	_TIMERREG_V
	orr	w1, w21, w0
	mov	x0, x19
	bl	_write_gts
	ldr	x8, [x22]
	ldr	x9, [x19]
	sub	x8, x9, x8
	str	x8, [x19]
	b	LBB0_1
LBB0_3:
	mov	x0, x20
	bl	_SEINTARM_V
	mov	x20, x0
	ldr	x0, [x19]
	bl	_CIDXINC_V
	orr	w20, w0, w20
	mov	w0, #6
	bl	_TIMERREG_V
	orr	w1, w20, w0
	mov	x0, x19
	bl	_write_gts
	str	xzr, [x19]
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CQ_ARMED,4,2                   ; @CQ_ARMED
	.comm	_CIDXINC_M,8,3                  ; @CIDXINC_M
	.no_dead_strip	_t4_arm_cq
.subsections_via_symbols
