	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_th
_get_th:                                ## @get_th
	.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
	movl	%esi, %r14d
	movq	%rdi, %r12
	callq	_strlen
	movl	%eax, %ebx
	cltq
	movzbl	-1(%rax,%r12), %r15d
	movl	%r15d, %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$2, %ebx
	jge	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	callq	_errmsg
	movl	%r13d, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpl	$2, %ebx
	jl	LBB0_4
LBB0_3:
	addl	$-2, %ebx
	cmpb	$49, (%r12,%rbx)
	je	LBB0_18
LBB0_4:
	movsbl	%r15b, %eax
	cmpl	$51, %eax
	je	LBB0_14
## %bb.5:
	cmpl	$50, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$49, %eax
	jne	LBB0_18
## %bb.7:
	movq	_TH_UPPER@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_numTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_22
LBB0_18:
	movq	_TH_UPPER@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_20
## %bb.19:
	movq	_numTH@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_20:
	movq	_numth@GOTPCREL(%rip), %rax
LBB0_21:
	movq	(%rax), %rax
	addq	$24, %rax
	jmp	LBB0_22
LBB0_14:
	movq	_TH_UPPER@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_17
## %bb.15:
	movq	_numTH@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_10:
	movq	_TH_UPPER@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_13
## %bb.11:
	movq	_numTH@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_9:
	movq	_numth@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_22
LBB0_17:
	movq	_numth@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rax
	addq	$16, %rax
	jmp	LBB0_22
LBB0_13:
	movq	_numth@GOTPCREL(%rip), %rax
LBB0_12:
	movq	(%rax), %rax
	addq	$8, %rax
LBB0_22:
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ## @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\" is not a number"

	.comm	_TH_UPPER,4,2                   ## @TH_UPPER
	.comm	_numTH,8,3                      ## @numTH
	.comm	_numth,8,3                      ## @numth
	.no_dead_strip	_get_th
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_th
_get_th:                                ; @get_th
	.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, x1
	mov	x20, x0
	bl	_strlen
	mov	x22, x0
	add	x8, x20, w0, sxtw
	ldurb	w21, [x8, #-1]
	mov	x0, x21
	bl	_isdigit
	cbz	w0, LBB0_2
; %bb.1:
	subs	w8, w22, #2
	b.ge	LBB0_3
	b	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERRCODE_INVALID_TEXT_REPRESENTATION@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_errcode
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	subs	w8, w22, #2
	b.lt	LBB0_4
LBB0_3:
	ldrb	w8, [x20, w8, uxtw]
	cmp	w8, #49
	b.eq	LBB0_9
LBB0_4:
	sxtb	w8, w21
	cmp	w8, #51
	b.eq	LBB0_13
; %bb.5:
	cmp	w8, #50
	b.eq	LBB0_15
; %bb.6:
	cmp	w8, #49
	b.ne	LBB0_9
; %bb.7:
Lloh8:
	adrp	x8, _TH_UPPER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TH_UPPER@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_17
; %bb.8:
Lloh11:
	adrp	x8, _numTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _numTH@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	b	LBB0_22
LBB0_9:
Lloh14:
	adrp	x8, _TH_UPPER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TH_UPPER@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_11
; %bb.10:
Lloh17:
	adrp	x8, _numTH@GOTPAGE
Lloh18:
	ldr	x8, [x8, _numTH@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh19:
	adrp	x8, _numth@GOTPAGE
Lloh20:
	ldr	x8, [x8, _numth@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	add	x8, x8, #24
	b	LBB0_22
LBB0_13:
Lloh21:
	adrp	x8, _TH_UPPER@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TH_UPPER@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_18
; %bb.14:
Lloh24:
	adrp	x8, _numTH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _numTH@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
Lloh26:
	adrp	x8, _TH_UPPER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TH_UPPER@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_20
; %bb.16:
Lloh29:
	adrp	x8, _numTH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _numTH@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:
Lloh31:
	adrp	x8, _numth@GOTPAGE
Lloh32:
	ldr	x8, [x8, _numth@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	b	LBB0_22
LBB0_18:
Lloh34:
	adrp	x8, _numth@GOTPAGE
Lloh35:
	ldr	x8, [x8, _numth@GOTPAGEOFF]
LBB0_19:
	ldr	x8, [x8]
	add	x8, x8, #16
	b	LBB0_22
LBB0_20:
Lloh36:
	adrp	x8, _numth@GOTPAGE
Lloh37:
	ldr	x8, [x8, _numth@GOTPAGEOFF]
LBB0_21:
	ldr	x8, [x8]
	add	x8, x8, #8
LBB0_22:
	ldr	x0, [x8]
	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 AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_INVALID_TEXT_REPRESENTATION,4,2 ; @ERRCODE_INVALID_TEXT_REPRESENTATION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\" is not a number"

	.comm	_TH_UPPER,4,2                   ; @TH_UPPER
	.comm	_numTH,8,3                      ; @numTH
	.comm	_numth,8,3                      ; @numth
	.no_dead_strip	_get_th
.subsections_via_symbols
