	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cvtconst                       ## -- Begin function cvtconst
	.p2align	4, 0x90
_cvtconst:                              ## @cvtconst
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %esi
	movl	16(%rdi), %edi
	callq	_constant
	movq	%rax, %r14
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_STATIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	movq	_GLOBAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_genident
	movq	%rax, (%r14)
LBB0_2:
	movl	16(%rbx), %edi
	callq	_isarray
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_ADDRG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	16(%rbx), %edi
	callq	_atop
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_simplify
	movq	(%r14), %rcx
	movq	%rcx, (%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%r14), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_idtree                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_STATIC,4,2                     ## @STATIC
	.comm	_GLOBAL,4,2                     ## @GLOBAL
	.comm	_ADDRG,4,2                      ## @ADDRG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cvtconst                       ; -- Begin function cvtconst
	.p2align	2
_cvtconst:                              ; @cvtconst
	.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, x0
	ldr	w0, [x0, #16]
	ldr	w1, [x20, #8]
	bl	_constant
	mov	x19, x0
	ldr	x8, [x0]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _STATIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x20, #16]
Lloh3:
	adrp	x8, _GLOBAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GLOBAL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_genident
	str	x0, [x19]
LBB0_2:
	ldr	w0, [x20, #16]
	bl	_isarray
	cbz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _ADDRG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ADDRG@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	ldr	w0, [x20, #16]
	bl	_atop
	mov	x1, x0
	mov	x0, x21
	mov	x2, #0
	mov	x3, #0
	bl	_simplify
	ldr	x8, [x19]
	str	x8, [x0]
	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
LBB0_4:
	ldr	x0, [x19]
	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
	b	_idtree
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STATIC,4,2                     ; @STATIC
	.comm	_GLOBAL,4,2                     ; @GLOBAL
	.comm	_ADDRG,4,2                      ; @ADDRG
.subsections_via_symbols
