	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function text_format_append_string
_text_format_append_string:             ## @text_format_append_string
	.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	%rsi, %r15
	movl	%edi, %r14d
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.1:
	movl	%ecx, %r13d
	js	LBB0_2
## %bb.5:
	movl	%edx, %ebx
	movq	_TEXT_FORMAT_FLAG_MINUS@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_pg_mbstrlen
	movl	%eax, %r12d
	testl	%ebx, %ebx
	jne	LBB0_6
## %bb.8:
	cmpl	%r13d, %r12d
	jge	LBB0_10
## %bb.9:
	subl	%r12d, %r13d
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_appendStringInfoSpaces
LBB0_10:
	movl	%r14d, %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendStringInfoString         ## TAILCALL
LBB0_2:
	movq	_INT_MIN@GOTPCREL(%rip), %rax
	cmpl	%r13d, (%rax)
	jl	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	negl	%r13d
	movq	%r15, %rdi
	callq	_pg_mbstrlen
	movl	%eax, %r12d
LBB0_6:
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	_appendStringInfoString
	subl	%r12d, %r13d
	jle	LBB0_11
## %bb.7:
	movl	%r14d, %edi
	movl	%r13d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_appendStringInfoSpaces         ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MIN,4,2                    ## @INT_MIN
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE,4,2 ## @ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"number is out of range"

	.comm	_TEXT_FORMAT_FLAG_MINUS,4,2     ## @TEXT_FORMAT_FLAG_MINUS
	.no_dead_strip	_text_format_append_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function text_format_append_string
_text_format_append_string:             ; @text_format_append_string
	.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	x20, x1
	mov	x19, x0
	cbz	w3, LBB0_5
; %bb.1:
	mov	x21, x3
	tbnz	w3, #31, LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _TEXT_FORMAT_FLAG_MINUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEXT_FORMAT_FLAG_MINUS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w23, w8, w2
	mov	x0, x20
	bl	_pg_mbstrlen
	mov	x22, x0
	cbnz	w23, LBB0_9
; %bb.3:
	cmp	w22, w21
	b.ge	LBB0_5
; %bb.4:
	sub	w1, w21, w22
	mov	x0, x19
	bl	_appendStringInfoSpaces
LBB0_5:
	mov	x0, x19
	mov	x1, 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	_appendStringInfoString
LBB0_6:
Lloh3:
	adrp	x8, _INT_MIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w21
	b.lt	LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
Lloh9:
	adrp	x8, _ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_8:
	neg	w21, w21
	mov	x0, x20
	bl	_pg_mbstrlen
	mov	x22, x0
LBB0_9:
	mov	x0, x19
	mov	x1, x20
	bl	_appendStringInfoString
	subs	w1, w21, w22
	b.le	LBB0_11
; %bb.10:
	mov	x0, x19
	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	_appendStringInfoSpaces
LBB0_11:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MIN,4,2                    ; @INT_MIN
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE,4,2 ; @ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"number is out of range"

	.comm	_TEXT_FORMAT_FLAG_MINUS,4,2     ; @TEXT_FORMAT_FLAG_MINUS
	.no_dead_strip	_text_format_append_string
.subsections_via_symbols
