	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function TB_get_tree_code
_TB_get_tree_code:                      ## @TB_get_tree_code
	.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, %r14
	movl	$32, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r15d
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_strlen
	subl	%eax, %r15d
	jmp	LBB0_3
LBB0_2:
	decl	%r15d
LBB0_3:
	movq	_LAST_AND_UNUSED_TREE_CODE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	movl	(%r13), %eax
	cmpl	%eax, %ebx
	jae	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_TB_TREE_CODE_LEN
	cmpl	%eax, %r15d
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %edi
	callq	_TB_TREE_CODE_TEXT
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_TB_TREE_CODE_LEN
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.10:
	movq	_TB_OUT_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_TB_TREE_CODE_TEXT
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	callq	_fprintf
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_TB_TREE_CODE                   ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LAST_AND_UNUSED_TREE_CODE,4,2  ## @LAST_AND_UNUSED_TREE_CODE
	.comm	_TB_OUT_FILE,4,2                ## @TB_OUT_FILE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.no_dead_strip	_TB_get_tree_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function TB_get_tree_code
_TB_get_tree_code:                      ; @TB_get_tree_code
	.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
	mov	x19, x0
	mov	w1, #32
	bl	_strchr
	mov	x21, x0
	mov	x0, x19
	bl	_strlen
	mov	x20, x0
	cbz	x21, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_strlen
	sub	w22, w20, w0
	b	LBB0_3
LBB0_2:
	sub	w22, w20, #1
LBB0_3:
Lloh0:
	adrp	x23, _LAST_AND_UNUSED_TREE_CODE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LAST_AND_UNUSED_TREE_CODE@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_9
; %bb.4:
	mov	w20, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w20, w20, #1
	ldr	w0, [x23]
	cmp	w20, w0
	b.hs	LBB0_10
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_TB_TREE_CODE_LEN
	cmp	w22, w0
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_TB_TREE_CODE_TEXT
	mov	x21, x0
	mov	x0, x20
	bl	_TB_TREE_CODE_LEN
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_memcmp
	cbnz	w0, LBB0_5
; %bb.8:
Lloh2:
	adrp	x8, _TB_OUT_FILE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TB_OUT_FILE@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	mov	x0, x20
	bl	_TB_TREE_CODE_TEXT
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	mov	x0, x20
	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
	b	_TB_TREE_CODE
LBB0_9:
	mov	w0, #0
LBB0_10:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_LAST_AND_UNUSED_TREE_CODE,4,2  ; @LAST_AND_UNUSED_TREE_CODE
	.comm	_TB_OUT_FILE,4,2                ; @TB_OUT_FILE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.no_dead_strip	_TB_get_tree_code
.subsections_via_symbols
