	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function call_string_check_hook
_call_string_check_hook:                ## @call_string_check_hook
	.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	8(%rdi), %rax
	movl	$1, %r12d
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_INVALID_PARAMETER_VALUE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	_GUC_check_errcode_value@GOTPCREL(%rip), %r14
	movl	%esi, (%r14)
	movq	_GUC_check_errmsg_string@GOTPCREL(%rip), %rsi
	movq	$0, (%rsi)
	movq	_GUC_check_errdetail_string@GOTPCREL(%rip), %rsi
	movq	$0, (%rsi)
	movq	_GUC_check_errhint_string@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	movq	%r15, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	*%rax
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movl	(%r14), %edi
	callq	_errcode
	movq	_GUC_check_errmsg_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_errmsg_internal
	jmp	LBB0_5
LBB0_4:
	movl	(%rbx), %esi
	movq	(%r15), %rax
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.1(%rip), %rdi
	callq	_errmsg
LBB0_5:
	movq	_GUC_check_errdetail_string@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_errdetail_internal
LBB0_7:
	movq	(%r13), %rsi
	xorl	%r12d, %r12d
	movl	$0, %eax
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	_errhint
LBB0_9:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
	xorl	%eax, %eax
	callq	_FlushErrorState
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ## @ERRCODE_INVALID_PARAMETER_VALUE
	.comm	_GUC_check_errcode_value,4,2    ## @GUC_check_errcode_value
	.comm	_GUC_check_errmsg_string,8,3    ## @GUC_check_errmsg_string
	.comm	_GUC_check_errdetail_string,8,3 ## @GUC_check_errdetail_string
	.comm	_GUC_check_errhint_string,8,3   ## @GUC_check_errhint_string
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

L_.str.1:                               ## @.str.1
	.asciz	"invalid value for parameter \"%s\": \"%s\""

L_.str.2:                               ## @.str.2
	.space	1

	.no_dead_strip	_call_string_check_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function call_string_check_hook
_call_string_check_hook:                ; @call_string_check_hook
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x4
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x9, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ERRCODE_INVALID_PARAMETER_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x25, _GUC_check_errcode_value@GOTPAGE
Lloh4:
	ldr	x25, [x25, _GUC_check_errcode_value@GOTPAGEOFF]
	str	w9, [x25]
Lloh5:
	adrp	x24, _GUC_check_errmsg_string@GOTPAGE
Lloh6:
	ldr	x24, [x24, _GUC_check_errmsg_string@GOTPAGEOFF]
	str	xzr, [x24]
Lloh7:
	adrp	x23, _GUC_check_errdetail_string@GOTPAGE
Lloh8:
	ldr	x23, [x23, _GUC_check_errdetail_string@GOTPAGEOFF]
	str	xzr, [x23]
Lloh9:
	adrp	x22, _GUC_check_errhint_string@GOTPAGE
Lloh10:
	ldr	x22, [x22, _GUC_check_errhint_string@GOTPAGEOFF]
	str	xzr, [x22]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	blr	x8
	cbz	w0, LBB0_3
LBB0_2:
	mov	w0, #1
	b	LBB0_9
LBB0_3:
	ldr	w0, [x25]
	bl	_errcode
	ldr	x1, [x24]
	cbz	x1, LBB0_10
; %bb.4:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg_internal
	ldr	x1, [x23]
	cbz	x1, LBB0_6
LBB0_5:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errdetail_internal
LBB0_6:
	ldr	x1, [x22]
	cbz	x1, LBB0_8
; %bb.7:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errhint
	mov	x1, x0
LBB0_8:
	mov	x0, x19
	bl	_ereport
	bl	_FlushErrorState
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w1, [x21]
	ldr	x8, [x20]
Lloh17:
	adrp	x9, l_.str.2@PAGE
Lloh18:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x2, x9, x8, eq
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	ldr	x1, [x23]
	cbnz	x1, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ERRCODE_INVALID_PARAMETER_VALUE,4,2 ; @ERRCODE_INVALID_PARAMETER_VALUE
	.comm	_GUC_check_errcode_value,4,2    ; @GUC_check_errcode_value
	.comm	_GUC_check_errmsg_string,8,3    ; @GUC_check_errmsg_string
	.comm	_GUC_check_errdetail_string,8,3 ; @GUC_check_errdetail_string
	.comm	_GUC_check_errhint_string,8,3   ; @GUC_check_errhint_string
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

l_.str.1:                               ; @.str.1
	.asciz	"invalid value for parameter \"%s\": \"%s\""

l_.str.2:                               ; @.str.2
	.space	1

	.no_dead_strip	_call_string_check_hook
.subsections_via_symbols
