	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doconst                        ## -- Begin function doconst
	.p2align	4, 0x90
_doconst:                               ## @doconst
	.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	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	xorl	%edi, %edi
	cmpq	$0, (%rax)
	sete	%dil
	callq	_assert
	movq	(%r14), %rdi
	movq	_LIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_defglobal
	movq	24(%r14), %rdi
	callq	_isarray
	movq	24(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	8(%rdi), %r8
	movq	_widechar@GOTPCREL(%rip), %r15
	cmpq	(%r15), %r8
	je	LBB0_3
LBB0_7:
	callq	_isarray
	movq	_IR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%r14), %rsi
	movq	24(%r14), %rax
	movl	(%rax), %edi
	callq	*8(%rbx)
	jmp	LBB0_10
LBB0_9:
	movq	24(%r14), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	8(%r14), %rdx
	movl	16(%r14), %ecx
	callq	*(%rbx)
	jmp	LBB0_10
LBB0_3:
	movl	(%rdi), %eax
	movl	(%r8), %esi
	cltd
	idivl	%esi
	testl	%eax, %eax
	jle	LBB0_10
## %bb.4:
	movl	%eax, %r12d
	movq	8(%r14), %rbx
	movl	(%rbx), %ecx
	movq	_IR@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movl	4(%r8), %edi
	callq	*(%rax)
	cmpl	$1, %r12d
	je	LBB0_10
## %bb.5:
	incl	%r12d
	addq	$4, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rbx), %ecx
	movq	(%r13), %rdx
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	*(%rdx)
	decl	%r12d
	addq	$4, %rbx
	cmpl	$2, %r12d
	jg	LBB0_6
LBB0_10:
	movq	$0, (%r14)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LIT,4,2                        ## @LIT
	.comm	_widechar,8,3                   ## @widechar
	.comm	_IR,8,3                         ## @IR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doconst                        ; -- Begin function doconst
	.p2align	2
_doconst:                               ; @doconst
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.1:
	mov	x19, x0
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _LIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_defglobal
	ldr	x0, [x19, #24]
	bl	_isarray
	mov	x8, x0
	ldr	x0, [x19, #24]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x21, _widechar@GOTPAGE
Lloh4:
	ldr	x21, [x21, _widechar@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_6
LBB0_3:
	bl	_isarray
Lloh5:
	adrp	x8, _IR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IR@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x8, #8]
	ldr	x9, [x19, #24]
	ldr	w0, [x9]
	ldr	x1, [x19, #8]
	blr	x8
	b	LBB0_10
LBB0_5:
	ldr	x8, [x8]
	ldp	x3, x9, [x19, #16]
	ldp	w1, w0, [x9]
	ldr	x2, [x19, #8]
	blr	x8
	b	LBB0_10
LBB0_6:
	ldr	w9, [x0]
	ldr	w1, [x8]
	sdiv	w23, w9, w1
	cmp	w23, #1
	b.lt	LBB0_10
; %bb.7:
	ldr	x24, [x19, #8]
	ldr	w20, [x24]
Lloh8:
	adrp	x22, _IR@GOTPAGE
Lloh9:
	ldr	x22, [x22, _IR@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x9, [x9]
	ldr	w0, [x8, #4]
	mov	x3, x20
	blr	x9
	cmp	w23, #1
	b.eq	LBB0_10
; %bb.8:
	add	w23, w23, #1
	add	x24, x24, #4
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w9, [x24], #4
	and	x10, x20, #0xffffffff00000000
	orr	x20, x10, x9
	ldr	x9, [x22]
	ldr	x9, [x9]
	ldp	w1, w0, [x8]
	mov	x3, x20
	blr	x9
	sub	w23, w23, #1
	cmp	w23, #2
	b.gt	LBB0_9
LBB0_10:
	str	xzr, [x19]
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LIT,4,2                        ; @LIT
	.comm	_widechar,8,3                   ; @widechar
	.comm	_IR,8,3                         ; @IR
.subsections_via_symbols
