	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iic                            ## -- Begin function iic
	.p2align	4, 0x90
_iic:                                   ## @iic
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %rax
	movl	%edi, %r15d
	movq	_PLDI2CDATA@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	%eax, %edi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_for_vsync
	movq	_PLDI2CCND@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_acknowledge
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_for_vsync
	movq	_PLDI2CSTEN_STEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_PLDI2CSTEN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_acknowledge
	movl	(%r14), %esi
	movl	%r12d, %edi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_for_vsync
	movl	(%rbx), %edi
	movl	(%r13), %esi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_acknowledge
	cmpl	$3, %r15d
	jne	LBB0_2
## %bb.1:
	movl	(%r14), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_for_vsync
	movl	(%rbx), %edi
	movl	(%r13), %esi
	callq	_ar_outl
	xorl	%eax, %eax
	callq	_wait_acknowledge
LBB0_2:
	movl	$100, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	decl	%ebx
	jne	LBB0_3
## %bb.4:
	movq	_PLDI2CCND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$2, %edi
	callq	_ar_outl
	movl	(%rbx), %esi
	movl	$2, %edi
	callq	_ar_outl
	movq	_PLDI2CSTS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ar_inl
	movq	_PLDI2CSTS_BB@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	je	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	movl	(%r14), %edi
	callq	_ar_inl
	testl	%eax, (%rbx)
	jne	LBB0_5
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PLDI2CDATA,4,2                 ## @PLDI2CDATA
	.comm	_PLDI2CCND,4,2                  ## @PLDI2CCND
	.comm	_PLDI2CSTEN_STEN,4,2            ## @PLDI2CSTEN_STEN
	.comm	_PLDI2CSTEN,4,2                 ## @PLDI2CSTEN
	.comm	_PLDI2CSTS,4,2                  ## @PLDI2CSTS
	.comm	_PLDI2CSTS_BB,4,2               ## @PLDI2CSTS_BB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iic                            ; -- Begin function iic
	.p2align	2
_iic:                                   ; @iic
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _PLDI2CDATA@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PLDI2CDATA@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x8
	bl	_ar_outl
	bl	_wait_for_vsync
Lloh2:
	adrp	x23, _PLDI2CCND@GOTPAGE
Lloh3:
	ldr	x23, [x23, _PLDI2CCND@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #1
	bl	_ar_outl
	bl	_wait_acknowledge
	ldr	w1, [x24]
	mov	x0, x22
	bl	_ar_outl
	bl	_wait_for_vsync
Lloh4:
	adrp	x22, _PLDI2CSTEN_STEN@GOTPAGE
Lloh5:
	ldr	x22, [x22, _PLDI2CSTEN_STEN@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh6:
	adrp	x25, _PLDI2CSTEN@GOTPAGE
Lloh7:
	ldr	x25, [x25, _PLDI2CSTEN@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_ar_outl
	bl	_wait_acknowledge
	ldr	w1, [x24]
	mov	x0, x21
	bl	_ar_outl
	bl	_wait_for_vsync
	ldr	w0, [x22]
	ldr	w1, [x25]
	bl	_ar_outl
	bl	_wait_acknowledge
	cmp	w20, #3
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x24]
	mov	x0, x19
	bl	_ar_outl
	bl	_wait_for_vsync
	ldr	w0, [x22]
	ldr	w1, [x25]
	bl	_ar_outl
	bl	_wait_acknowledge
LBB0_2:
	mov	w19, #100
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_cpu_relax
	subs	w19, w19, #1
	b.ne	LBB0_3
; %bb.4:
	ldr	w1, [x23]
	mov	w0, #2
	bl	_ar_outl
	ldr	w1, [x23]
	mov	w0, #2
	bl	_ar_outl
Lloh8:
	adrp	x19, _PLDI2CSTS@GOTPAGE
Lloh9:
	ldr	x19, [x19, _PLDI2CSTS@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_ar_inl
Lloh10:
	adrp	x20, _PLDI2CSTS_BB@GOTPAGE
Lloh11:
	ldr	x20, [x20, _PLDI2CSTS_BB@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_cpu_relax
	ldr	w0, [x19]
	bl	_ar_inl
	b	LBB0_5
LBB0_7:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_PLDI2CDATA,4,2                 ; @PLDI2CDATA
	.comm	_PLDI2CCND,4,2                  ; @PLDI2CCND
	.comm	_PLDI2CSTEN_STEN,4,2            ; @PLDI2CSTEN_STEN
	.comm	_PLDI2CSTEN,4,2                 ; @PLDI2CSTEN
	.comm	_PLDI2CSTS,4,2                  ; @PLDI2CSTS
	.comm	_PLDI2CSTS_BB,4,2               ; @PLDI2CSTS_BB
.subsections_via_symbols
