	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_const                      ## -- Begin function get_const
	.p2align	4, 0x90
_get_const:                             ## @get_const
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testb	%sil, %sil
	js	LBB0_1
## %bb.2:
	movq	_HOST_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movq	(%rdi), %rdx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	%sil, (%rdx,%rcx)
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
LBB0_8:
	movsbl	%sil, %esi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movl	$1, %edi
	callq	_exit
LBB0_5:
	movq	8(%rdi), %rax
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_REGS,4,2                  ## @HOST_REGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown constant in r%d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_const                      ; -- Begin function get_const
	.p2align	2
_get_const:                             ; @get_const
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	tbnz	w1, #31, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _HOST_REGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_REGS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x9, #0
	ldr	x10, [x0]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x10, x9]
	cmp	w11, w1, uxtb
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #1
	bl	_exit
LBB0_6:
	ldr	x8, [x0, #8]
	ldr	w0, [x8, x9, lsl #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_REGS,4,2                  ; @HOST_REGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown constant in r%d\n"

.subsections_via_symbols
