	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_constant_by_name
_get_constant_by_name:                  ## @get_constant_by_name
	.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	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %r14
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%r12, %rdi
	callq	_debugstr_a
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_TRACE
	testq	%r12, %r12
	je	LBB0_14
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%r12)
	je	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	8(%rbx), %rax
	leaq	8(%r15), %rcx
	testq	%rbx, %rbx
	cmovneq	%rbx, %rcx
	cmoveq	%r15, %rax
	movq	(%rax), %rbx
	movl	(%rcx), %r14d
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcspn
	testl	%r14d, %r14d
	jle	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r15d
	movslq	%eax, %r13
	addq	%r12, %r13
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=2
	addq	$16, %rbx
	decq	%r14
	je	LBB0_11
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%rbx), %edi
	callq	_strlen
	cmpl	%r15d, %eax
	jne	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movl	4(%rbx), %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movsbl	(%r13), %eax
	incq	%r13
	movl	$0, %r15d
	movq	%r13, %r12
	cmpl	$46, %eax
	leaq	L_.str(%rip), %r14
	je	LBB0_1
## %bb.9:
	cmpl	$91, %eax
	jne	LBB0_15
## %bb.10:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_get_constant_element_by_name   ## TAILCALL
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_TRACE
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_TRACE
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"table %p, constant %p, name %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"[."

L_.str.2:                               ## @.str.2
	.asciz	"Returning parameter %p\n"

L_.str.3:                               ## @.str.3
	.asciz	"Constant not found\n"

	.no_dead_strip	_get_constant_by_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_constant_by_name
_get_constant_by_name:                  ; @get_constant_by_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	mov	x0, x20
	bl	_debugstr_a
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp, #8]
	str	x23, [sp]
	mov	x0, x21
	bl	_TRACE
	cbz	x20, LBB0_12
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x20]
	cbz	w8, LBB0_12
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x8, x19, #8
	add	x9, x23, #8
	cmp	x19, #0
	csel	x9, x9, x19, eq
	csel	x8, x23, x8, eq
	ldr	x19, [x8]
	ldr	w24, [x9]
	mov	x0, x20
	mov	x1, x22
	bl	_strcspn
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, x0
	add	x25, x20, w0, sxtw
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	add	x19, x19, #16
	subs	x24, x24, #1
	b.eq	LBB0_11
LBB0_6:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19, #4]
	bl	_strlen
	cmp	w0, w23
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	w0, [x19, #4]
	mov	x1, x20
	mov	x2, x23
	bl	_strncmp
	cbnz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x23, #0
	ldrsb	w8, [x25], #1
	mov	x20, x25
	cmp	w8, #46
	b.eq	LBB0_1
; %bb.9:
	cmp	w8, #91
	b.ne	LBB0_14
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #112
	b	_get_constant_element_by_name
LBB0_11:
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_TRACE
LBB0_12:
	mov	x19, #0
LBB0_13:
	mov	x0, x19
	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
	add	sp, sp, #112
	ret
LBB0_14:
	str	x19, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_TRACE
	b	LBB0_13
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"table %p, constant %p, name %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"[."

l_.str.2:                               ; @.str.2
	.asciz	"Returning parameter %p\n"

l_.str.3:                               ; @.str.3
	.asciz	"Constant not found\n"

	.no_dead_strip	_get_constant_by_name
.subsections_via_symbols
