	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cc                          ## -- Begin function do_cc
	.p2align	4, 0x90
_do_cc:                                 ## @do_cc
	.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	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	_itype@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movslq	%edi, %rbx
	movq	(%rax,%rbx,8), %rax
	movq	_RJUMP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	$0, (%r13)
LBB0_2:
	movq	_ba@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_internal_branch
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	movq	_start@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	sarl	%eax
	movq	_is_ds@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movslq	%eax, %rcx
	cmpq	$0, (%rdx,%rcx,8)
	movq	_ccadj@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	je	LBB0_6
## %bb.5:
	movl	4(%rax,%rcx,4), %eax
	movq	_cycles@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subl	(%rdx,%rcx,4), %eax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movl	(%rax,%rcx,4), %eax
LBB0_7:
	movl	%eax, (%r13)
	movq	(%r14), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movq	_CJUMP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:
	movq	_cycles@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	subl	(%rdx,%rbx,4), %eax
	addl	$-2, %eax
	movl	%eax, (%r13)
LBB0_9:
	movq	_SJUMP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.10:
	movq	_cycles@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rbx,4), %edx
	notl	%edx
	subl	4(%rcx,%rbx,4), %edx
	addl	%edx, %eax
	movl	%eax, (%r13)
LBB0_11:
	movq	_ccadj@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movq	_NODS@GOTPCREL(%rip), %rdx
	xorl	%r14d, %r14d
	cmpl	%r12d, (%rdx)
	je	LBB0_13
## %bb.12:
	movq	_cycles@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	4(%rdx,%rbx,4), %r14d
	addl	(%rdx,%rbx,4), %r14d
LBB0_13:
	addl	%ecx, %r14d
	movq	_TAKEN@GOTPCREL(%rip), %rcx
	cmpl	%r12d, (%rcx)
	jne	LBB0_17
## %bb.14:
	movq	(%r15), %rcx
	movl	(%rcx,%rbx,4), %ecx
	movq	_start@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	sarl	%ecx
	cmpl	%ebx, %ecx
	jne	LBB0_17
## %bb.15:
	movq	_source@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, 8(%rcx,%rbx,8)
	je	LBB0_16
LBB0_17:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_19
## %bb.18:
	testl	%eax, %eax
	je	LBB0_19
## %bb.20:
	movq	%r12, %rbx
	movq	_HOST_CCREG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CLOCK_DIVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	imull	%r14d, %esi
	negl	%esi
	callq	_emit_cmpimm
	jmp	LBB0_21
LBB0_19:
	movq	%r12, %rbx
	movq	_CLOCK_DIVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	imull	%r14d, %edi
	movq	_HOST_CCREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_emit_addimm_and_set_flags
LBB0_21:
	movq	_out@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_emit_jns
LBB0_22:
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	testl	%r12d, %r12d
	movq	_out@GOTPCREL(%rip), %rcx
	cmovel	(%rcx), %r12d
	movq	_CC_STUB@GOTPCREL(%rip), %rcx
	cmovnel	%eax, %r14d
	movl	(%r13), %edx
	testl	%edx, %edx
	cmovel	%edx, %r14d
	movl	(%rcx), %edi
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	cmovnel	%eax, %r14d
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%r14d, %ecx
	pushq	$0
	pushq	%rbx
	callq	_add_stub
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r12, %rbx
	movq	_out@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movq	_HOST_CCREG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$3, %esi
	movl	%edi, %edx
	callq	_emit_andimm
	movq	(%r15), %r15
	xorl	%edi, %edi
	callq	_emit_jmp
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_itype,8,3                      ## @itype
	.comm	_RJUMP,8,3                      ## @RJUMP
	.comm	_ba,8,3                         ## @ba
	.comm	_start,4,2                      ## @start
	.comm	_is_ds,8,3                      ## @is_ds
	.comm	_ccadj,8,3                      ## @ccadj
	.comm	_cycles,8,3                     ## @cycles
	.comm	_CJUMP,8,3                      ## @CJUMP
	.comm	_SJUMP,8,3                      ## @SJUMP
	.comm	_NODS,4,2                       ## @NODS
	.comm	_TAKEN,4,2                      ## @TAKEN
	.comm	_source,8,3                     ## @source
	.comm	_out,8,3                        ## @out
	.comm	_HOST_CCREG,4,2                 ## @HOST_CCREG
	.comm	_CLOCK_DIVIDER,4,2              ## @CLOCK_DIVIDER
	.comm	_CC_STUB,4,2                    ## @CC_STUB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_cc                          ; -- Begin function do_cc
	.p2align	2
_do_cc:                                 ; @do_cc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x21, x0
	sxtw	x24, w21
Lloh0:
	adrp	x26, _itype@GOTPAGE
Lloh1:
	ldr	x26, [x26, _itype@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x8, [x8, w0, sxtw #3]
Lloh2:
	adrp	x9, _RJUMP@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RJUMP@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	str	wzr, [x23]
LBB0_2:
Lloh5:
	adrp	x25, _ba@GOTPAGE
Lloh6:
	ldr	x25, [x25, _ba@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w0, [x8, x24, lsl #2]
	bl	_internal_branch
Lloh7:
	adrp	x10, _ccadj@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ccadj@GOTPAGEOFF]
Lloh9:
	adrp	x8, _start@GOTPAGE
Lloh10:
	ldr	x8, [x8, _start@GOTPAGEOFF]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x9, [x25]
	ldr	w9, [x9, x24, lsl #2]
	ldr	w11, [x8]
	sub	w9, w9, w11
Lloh11:
	adrp	x11, _is_ds@GOTPAGE
Lloh12:
	ldr	x11, [x11, _is_ds@GOTPAGEOFF]
	asr	w12, w9, #1
Lloh13:
	ldr	x11, [x11]
	sbfx	x9, x9, #1, #31
	ldr	x12, [x11, w12, sxtw #3]
	ldr	x11, [x10]
	cbz	x12, LBB0_6
; %bb.4:
	add	w12, w9, #1
	ldr	w11, [x11, w12, sxtw #2]
Lloh14:
	adrp	x12, _cycles@GOTPAGE
Lloh15:
	ldr	x12, [x12, _cycles@GOTPAGEOFF]
Lloh16:
	ldr	x12, [x12]
	ldr	w9, [x12, x9, lsl #2]
	sub	w9, w11, w9
	b	LBB0_7
LBB0_5:
	mov	w9, #0
	b	LBB0_7
LBB0_6:
	ldr	w9, [x11, x9, lsl #2]
LBB0_7:
	str	w9, [x23]
	ldr	x11, [x26]
	ldr	x11, [x11, x24, lsl #3]
Lloh17:
	adrp	x12, _CJUMP@GOTPAGE
Lloh18:
	ldr	x12, [x12, _CJUMP@GOTPAGEOFF]
Lloh19:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_9
; %bb.8:
Lloh20:
	adrp	x12, _cycles@GOTPAGE
Lloh21:
	ldr	x12, [x12, _cycles@GOTPAGEOFF]
Lloh22:
	ldr	x12, [x12]
	ldr	w12, [x12, x24, lsl #2]
	sub	w9, w9, w12
	sub	w9, w9, #2
	str	w9, [x23]
LBB0_9:
Lloh23:
	adrp	x12, _SJUMP@GOTPAGE
Lloh24:
	ldr	x12, [x12, _SJUMP@GOTPAGEOFF]
Lloh25:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_11
; %bb.10:
Lloh26:
	adrp	x11, _cycles@GOTPAGE
Lloh27:
	ldr	x11, [x11, _cycles@GOTPAGEOFF]
Lloh28:
	ldr	x11, [x11]
	add	x11, x11, x24, lsl #2
	ldp	w12, w11, [x11]
	mvn	w12, w12
	sub	w11, w12, w11
	add	w9, w11, w9
	str	w9, [x23]
LBB0_11:
	ldr	x10, [x10]
	ldr	w10, [x10, x24, lsl #2]
Lloh29:
	adrp	x11, _NODS@GOTPAGE
Lloh30:
	ldr	x11, [x11, _NODS@GOTPAGEOFF]
Lloh31:
	ldr	w11, [x11]
	cmp	w11, w19
	b.ne	LBB0_13
; %bb.12:
	mov	w11, #0
	b	LBB0_14
LBB0_13:
Lloh32:
	adrp	x11, _cycles@GOTPAGE
Lloh33:
	ldr	x11, [x11, _cycles@GOTPAGEOFF]
Lloh34:
	ldr	x11, [x11]
	add	x11, x11, x24, lsl #2
	ldp	w12, w11, [x11]
	add	w11, w11, w12
LBB0_14:
	add	w26, w11, w10
Lloh35:
	adrp	x10, _TAKEN@GOTPAGE
Lloh36:
	ldr	x10, [x10, _TAKEN@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
Lloh38:
	adrp	x27, _out@GOTPAGE
Lloh39:
	ldr	x27, [x27, _out@GOTPAGEOFF]
	cmp	w10, w19
	b.ne	LBB0_17
; %bb.15:
	ldr	x10, [x25]
	ldr	w10, [x10, x24, lsl #2]
	ldr	w8, [x8]
	sub	w8, w10, w8
	cmp	w21, w8, asr #1
	b.ne	LBB0_17
; %bb.16:
Lloh40:
	adrp	x8, _source@GOTPAGE
Lloh41:
	ldr	x8, [x8, _source@GOTPAGEOFF]
Lloh42:
	ldr	x8, [x8]
	add	x8, x8, x24, lsl #3
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_23
LBB0_17:
	cbnz	w22, LBB0_20
; %bb.18:
	cbz	w9, LBB0_20
; %bb.19:
Lloh43:
	adrp	x8, _HOST_CCREG@GOTPAGE
Lloh44:
	ldr	x8, [x8, _HOST_CCREG@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x8, _CLOCK_DIVIDER@GOTPAGE
Lloh47:
	ldr	x8, [x8, _CLOCK_DIVIDER@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	mneg	w1, w26, w8
	bl	_emit_cmpimm
	b	LBB0_21
LBB0_20:
Lloh49:
	adrp	x8, _CLOCK_DIVIDER@GOTPAGE
Lloh50:
	ldr	x8, [x8, _CLOCK_DIVIDER@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	mul	w0, w8, w26
Lloh52:
	adrp	x8, _HOST_CCREG@GOTPAGE
Lloh53:
	ldr	x8, [x8, _HOST_CCREG@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	bl	_emit_addimm_and_set_flags
LBB0_21:
	ldr	x24, [x27]
	mov	w0, #0
	bl	_emit_jns
	mov	w25, #0
LBB0_22:
Lloh55:
	adrp	x8, _CC_STUB@GOTPAGE
Lloh56:
	ldr	x8, [x8, _CC_STUB@GOTPAGEOFF]
Lloh57:
	ldr	w0, [x8]
	ldr	w8, [x27]
	cmp	w25, #0
	csel	w2, w25, w8, ne
	ldr	w8, [x23]
	ccmp	w8, #0, #4, eq
	ccmp	w22, #0, #0, ne
	csel	w3, wzr, w26, ne
	mov	x1, x24
	mov	x4, x21
	mov	x5, x20
	mov	x6, x19
	mov	w7, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_add_stub
LBB0_23:
	ldr	w25, [x27]
Lloh58:
	adrp	x8, _HOST_CCREG@GOTPAGE
Lloh59:
	ldr	x8, [x8, _HOST_CCREG@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	mov	w1, #3
	mov	x2, x0
	bl	_emit_andimm
	ldr	x24, [x27]
	mov	w0, #0
	bl	_emit_jmp
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_itype,8,3                      ; @itype
	.comm	_RJUMP,8,3                      ; @RJUMP
	.comm	_ba,8,3                         ; @ba
	.comm	_start,4,2                      ; @start
	.comm	_is_ds,8,3                      ; @is_ds
	.comm	_ccadj,8,3                      ; @ccadj
	.comm	_cycles,8,3                     ; @cycles
	.comm	_CJUMP,8,3                      ; @CJUMP
	.comm	_SJUMP,8,3                      ; @SJUMP
	.comm	_NODS,4,2                       ; @NODS
	.comm	_TAKEN,4,2                      ; @TAKEN
	.comm	_source,8,3                     ; @source
	.comm	_out,8,3                        ; @out
	.comm	_HOST_CCREG,4,2                 ; @HOST_CCREG
	.comm	_CLOCK_DIVIDER,4,2              ; @CLOCK_DIVIDER
	.comm	_CC_STUB,4,2                    ; @CC_STUB
.subsections_via_symbols
