	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cjump_assemble                 ## -- Begin function cjump_assemble
	.p2align	4, 0x90
_cjump_assemble:                        ## @cjump_assemble
	.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
	movq	(%rsi), %r14
	movq	_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movslq	%edi, %rbx
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %edi
	movq	_ba@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	callq	_match_bt
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_assem_debug
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_internal_branch
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	movq	_start@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	sarl	%eax
	cmpl	%ebx, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_assem_debug
LBB0_2:
	xorl	%r13d, %r13d
	testl	%r12d, %r12d
	sete	%r13b
	movq	_SR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_get_reg
	movl	%eax, %r15d
	movl	%eax, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movq	_CCREG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_get_reg
	movl	%eax, %r14d
	movq	_HOST_CCREG@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r14d
	sete	%dil
	callq	_assert
	movq	_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax,%rbx,8), %esi
	leal	(%rbx,%rbx), %ecx
	movq	_start@GOTPCREL(%rip), %rax
	addl	(%rax), %ecx
	movq	_NODS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-48(%rbp), %rdx
	movl	%ebx, %edi
	movl	%r13d, %r9d
	callq	_do_cc
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.3:
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_CLOCK_DIVIDER@GOTPCREL(%rip), %rcx
	movq	_ccadj@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rdx,%rbx,4), %esi
	subl	%eax, %esi
	imull	(%rcx), %esi
	movl	%r14d, %edi
	movl	%r14d, %edx
	callq	_emit_addimm
LBB0_5:
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_emit_testimm
	movq	_opcode2@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %eax
	cmpl	$11, %eax
	je	LBB0_9
## %bb.6:
	cmpl	$9, %eax
	jne	LBB0_12
## %bb.7:
	movq	_out@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.22:
	movq	_ba@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movl	%r15d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_add_to_linker
	xorl	%edi, %edi
	callq	_emit_jne
	movq	(%r13), %rax
	cmpl	$11, (%rax,%rbx,4)
	je	LBB0_11
	jmp	LBB0_23
LBB0_9:
	testl	%r12d, %r12d
	je	LBB0_10
LBB0_11:
	movq	_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ba@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_add_to_linker
	xorl	%edi, %edi
	callq	_emit_jeq
	jmp	LBB0_23
LBB0_12:
	testl	%r12d, %r12d
	je	LBB0_13
LBB0_23:
	testl	%r12d, %r12d
	je	LBB0_26
## %bb.24:
	movl	-48(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_26
## %bb.25:
	movq	_CLOCK_DIVIDER@GOTPCREL(%rip), %rax
	imull	(%rax), %esi
	movl	%r14d, %edi
	movl	%r14d, %edx
	callq	_emit_addimm
	jmp	LBB0_26
LBB0_8:
	movl	$1, %edi
	callq	_emit_jeq
	movq	(%r13), %rax
	cmpl	$11, (%rax,%rbx,4)
	jne	LBB0_14
LBB0_10:
	movq	_out@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$1, %edi
	callq	_emit_jne
	jmp	LBB0_14
LBB0_13:
	xorl	%r15d, %r15d
LBB0_14:
	movl	-48(%rbp), %esi
	testl	%esi, %esi
	je	LBB0_16
## %bb.15:
	movq	_CLOCK_DIVIDER@GOTPCREL(%rip), %rax
	imull	(%rax), %esi
	negl	%esi
	movl	%r14d, %edi
	movl	%r14d, %edx
	callq	_emit_addimm
LBB0_16:
	movq	_regs@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %edi
	movq	_ba@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	callq	_store_regs_bt
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %esi
	movl	4(%rax,%rbx,8), %edi
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edx
	callq	_load_regs_bt
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.19:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_assem_debug
	movq	_is_ds@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movl	(%rcx,%rbx,4), %esi
	movl	%esi, %ecx
	movq	_start@GOTPCREL(%rip), %rdx
	subl	(%rdx), %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_18
## %bb.20:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_ds_assemble_entry
	jmp	LBB0_21
LBB0_17:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_assem_debug
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
LBB0_18:
	movq	_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %edx
	callq	_add_to_linker
	xorl	%edi, %edi
	callq	_emit_jmp
LBB0_21:
	movq	_out@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_set_jump_target
LBB0_26:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_regs,8,3                       ## @regs
	.comm	_ba,8,3                         ## @ba
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"match=%d\n"

	.comm	_start,4,2                      ## @start
L_.str.1:                               ## @.str.1
	.asciz	"idle loop\n"

	.comm	_SR,4,2                         ## @SR
	.comm	_CCREG,4,2                      ## @CCREG
	.comm	_HOST_CCREG,4,2                 ## @HOST_CCREG
	.comm	_NODS,4,2                       ## @NODS
	.comm	_branch_regs,8,3                ## @branch_regs
	.comm	_TAKEN,4,2                      ## @TAKEN
	.comm	_source,8,3                     ## @source
	.comm	_CLOCK_DIVIDER,4,2              ## @CLOCK_DIVIDER
	.comm	_ccadj,8,3                      ## @ccadj
L_.str.2:                               ## @.str.2
	.asciz	"branch: internal\n"

L_.str.3:                               ## @.str.3
	.asciz	"branch: external\n"

	.comm	_is_ds,8,3                      ## @is_ds
	.comm	_out,8,3                        ## @out
	.comm	_CC_STUB,4,2                    ## @CC_STUB
	.comm	_NOTTAKEN,4,2                   ## @NOTTAKEN
	.comm	_opcode2,8,3                    ## @opcode2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cjump_assemble                 ; -- Begin function cjump_assemble
	.p2align	2
_cjump_assemble:                        ; @cjump_assemble
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x0
Lloh0:
	adrp	x27, _regs@GOTPAGE
Lloh1:
	ldr	x27, [x27, _regs@GOTPAGEOFF]
	ldr	x22, [x1]
	ldr	x8, [x27]
	sxtw	x25, w20
	add	x8, x8, w0, sxtw #3
	ldp	w1, w0, [x8]
Lloh2:
	adrp	x26, _ba@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ba@GOTPAGEOFF]
	ldr	x8, [x26]
	sbfiz	x23, x20, #2, #32
	ldr	w2, [x8, x23]
	bl	_match_bt
	mov	x21, x0
	str	x21, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assem_debug
	ldr	x8, [x26]
	ldr	w0, [x8, x23]
	bl	_internal_branch
	mov	x19, x0
	ldr	x8, [x26]
	ldr	w8, [x8, x23]
Lloh6:
	adrp	x28, _start@GOTPAGE
Lloh7:
	ldr	x28, [x28, _start@GOTPAGEOFF]
	ldr	w9, [x28]
	sub	w8, w8, w9
	cmp	w20, w8, asr #1
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_assem_debug
LBB0_2:
	cmp	w21, #0
	cset	w24, eq
Lloh10:
	adrp	x8, _SR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_get_reg
	mov	x23, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_assert
Lloh13:
	adrp	x8, _CCREG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CCREG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_get_reg
	mov	x22, x0
Lloh16:
	adrp	x8, _HOST_CCREG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _HOST_CCREG@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	x8, [x27]
	add	x8, x8, x25, lsl #3
	ldr	w1, [x8, #4]
	ldr	w8, [x28]
	add	w3, w8, w20, lsl #1
Lloh19:
	adrp	x8, _NODS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _NODS@GOTPAGEOFF]
Lloh21:
	ldr	w4, [x8]
	add	x2, sp, #12
	mov	x0, x20
	mov	x5, x24
	bl	_do_cc
	ldr	w8, [sp, #12]
	cmp	w21, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_4
; %bb.3:
Lloh22:
	adrp	x9, _CLOCK_DIVIDER@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CLOCK_DIVIDER@GOTPAGEOFF]
Lloh24:
	adrp	x10, _ccadj@GOTPAGE
Lloh25:
	ldr	x10, [x10, _ccadj@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	ldr	x10, [x10]
	ldr	w10, [x10, x25, lsl #2]
	sub	w8, w10, w8
	mul	w1, w8, w9
	mov	x0, x22
	mov	x2, x22
	bl	_emit_addimm
LBB0_4:
	mov	x0, x23
	mov	w1, #1
	bl	_emit_testimm
Lloh28:
	adrp	x24, _opcode2@GOTPAGE
Lloh29:
	ldr	x24, [x24, _opcode2@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #11
	b.eq	LBB0_8
; %bb.5:
	cmp	w8, #9
	b.ne	LBB0_10
; %bb.6:
Lloh30:
	adrp	x8, _out@GOTPAGE
Lloh31:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh32:
	ldr	x23, [x8]
	cbz	w21, LBB0_14
; %bb.7:
	ldr	x8, [x26]
	lsl	x20, x25, #2
	ldr	w1, [x8, x20]
	mov	x0, x23
	mov	x2, x19
	bl	_add_to_linker
	mov	w0, #0
	bl	_emit_jne
	ldr	x8, [x24]
	ldr	w8, [x8, x20]
	cmp	w8, #11
	b.eq	LBB0_9
	b	LBB0_11
LBB0_8:
	cbz	w21, LBB0_15
LBB0_9:
Lloh33:
	adrp	x8, _out@GOTPAGE
Lloh34:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	ldr	x8, [x26]
	ldr	w1, [x8, x25, lsl #2]
	mov	x2, x19
	bl	_add_to_linker
	mov	w0, #0
	bl	_emit_jeq
	b	LBB0_11
LBB0_10:
	cbz	w21, LBB0_25
LBB0_11:
	cbz	w21, LBB0_24
; %bb.12:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_24
; %bb.13:
Lloh36:
	adrp	x9, _CLOCK_DIVIDER@GOTPAGE
Lloh37:
	ldr	x9, [x9, _CLOCK_DIVIDER@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	mul	w1, w9, w8
	mov	x0, x22
	mov	x2, x22
	bl	_emit_addimm
	b	LBB0_24
LBB0_14:
	mov	w0, #1
	bl	_emit_jeq
	ldr	x8, [x24]
	ldr	w8, [x8, x25, lsl #2]
	cmp	w8, #11
	b.ne	LBB0_16
LBB0_15:
Lloh39:
	adrp	x8, _out@GOTPAGE
Lloh40:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh41:
	ldr	x23, [x8]
	mov	w0, #1
	bl	_emit_jne
LBB0_16:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_18
LBB0_17:
Lloh42:
	adrp	x9, _CLOCK_DIVIDER@GOTPAGE
Lloh43:
	ldr	x9, [x9, _CLOCK_DIVIDER@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	mneg	w1, w8, w9
	mov	x0, x22
	mov	x2, x22
	bl	_emit_addimm
LBB0_18:
	ldr	x8, [x27]
	lsl	x21, x25, #3
	add	x8, x8, x21
	ldp	w1, w0, [x8]
	ldr	x8, [x26]
	lsl	x22, x25, #2
	ldr	w2, [x8, x22]
	bl	_store_regs_bt
	ldr	x8, [x27]
	add	x8, x8, x21
	ldp	w1, w0, [x8]
	ldr	x8, [x26]
	ldr	w2, [x8, x22]
	bl	_load_regs_bt
	cbz	w19, LBB0_21
; %bb.19:
Lloh45:
	adrp	x0, l_.str.2@PAGE
Lloh46:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_assem_debug
Lloh47:
	adrp	x8, _is_ds@GOTPAGE
Lloh48:
	ldr	x8, [x8, _is_ds@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	w1, [x9, x25, lsl #2]
Lloh49:
	ldr	x8, [x8]
	ldr	w9, [x28]
	sub	w9, w1, w9
	asr	w9, w9, #1
	ldr	x8, [x8, w9, sxtw #3]
	cbz	x8, LBB0_22
; %bb.20:
	mov	x0, x20
	bl	_ds_assemble_entry
	b	LBB0_23
LBB0_21:
Lloh50:
	adrp	x0, l_.str.3@PAGE
Lloh51:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_assem_debug
	ldr	x8, [x26]
	ldr	w1, [x8, x25, lsl #2]
LBB0_22:
Lloh52:
	adrp	x8, _out@GOTPAGE
Lloh53:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	mov	x2, x19
	bl	_add_to_linker
	mov	w0, #0
	bl	_emit_jmp
LBB0_23:
Lloh55:
	adrp	x8, _out@GOTPAGE
Lloh56:
	ldr	x8, [x8, _out@GOTPAGEOFF]
Lloh57:
	ldr	x1, [x8]
	mov	x0, x23
	bl	_set_jump_target
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	mov	x23, #0
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_17
	b	LBB0_18
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
                                        ; -- End function
	.comm	_regs,8,3                       ; @regs
	.comm	_ba,8,3                         ; @ba
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"match=%d\n"

	.comm	_start,4,2                      ; @start
l_.str.1:                               ; @.str.1
	.asciz	"idle loop\n"

	.comm	_SR,4,2                         ; @SR
	.comm	_CCREG,4,2                      ; @CCREG
	.comm	_HOST_CCREG,4,2                 ; @HOST_CCREG
	.comm	_NODS,4,2                       ; @NODS
	.comm	_branch_regs,8,3                ; @branch_regs
	.comm	_TAKEN,4,2                      ; @TAKEN
	.comm	_source,8,3                     ; @source
	.comm	_CLOCK_DIVIDER,4,2              ; @CLOCK_DIVIDER
	.comm	_ccadj,8,3                      ; @ccadj
l_.str.2:                               ; @.str.2
	.asciz	"branch: internal\n"

l_.str.3:                               ; @.str.3
	.asciz	"branch: external\n"

	.comm	_is_ds,8,3                      ; @is_ds
	.comm	_out,8,3                        ; @out
	.comm	_CC_STUB,4,2                    ; @CC_STUB
	.comm	_NOTTAKEN,4,2                   ; @NOTTAKEN
	.comm	_opcode2,8,3                    ; @opcode2
.subsections_via_symbols
