	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function variable_coerce_param_hook
_variable_coerce_param_hook:            ## @variable_coerce_param_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %rax
	movq	_PARAM_EXTERN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	_UNKNOWNOID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.2:
	movl	%r8d, %r14d
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	(%rdi), %rcx
	movq	8(%rcx), %rdx
	movq	(%rdx), %rdx
	movslq	16(%rbx), %r13
	testq	%r13, %r13
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.3:
	movq	(%rcx), %rcx
	cmpl	(%rcx), %r13d
	jle	LBB0_5
LBB0_4:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_UNDEFINED_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	callq	_errmsg
	movl	20(%rbx), %esi
	movq	%r12, %rdi
	callq	_parser_errposition
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	_UNKNOWNOID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_5:
	movq	-8(%rdx,%r13,8), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_9
## %bb.6:
	movq	%r15, -8(%rdx,%r13,8)
	jmp	LBB0_11
LBB0_8:
	xorl	%ebx, %ebx
LBB0_15:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpq	%r15, %rcx
	je	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ERRCODE_AMBIGUOUS_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.1(%rip), %rdi
	movl	%r13d, %esi
	callq	_errmsg
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-8(%rax,%r13,8), %rdi
	callq	_format_type_be
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_format_type_be
	leaq	L_.str.2(%rip), %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_errdetail
	movl	20(%rbx), %esi
	movq	%r12, %rdi
	callq	_parser_errposition
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_11:
	movq	%r15, 8(%rbx)
	movl	$-1, 24(%rbx)
	movq	%r15, %rdi
	callq	_get_typcollation
	movl	%eax, 28(%rbx)
	testl	%r14d, %r14d
	js	LBB0_15
## %bb.12:
	movl	20(%rbx), %eax
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	cmpl	%r14d, %eax
	jle	LBB0_15
LBB0_14:
	movl	%r14d, 20(%rbx)
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_PARAM_EXTERN,8,3               ## @PARAM_EXTERN
	.comm	_UNKNOWNOID,8,3                 ## @UNKNOWNOID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_UNDEFINED_PARAMETER,4,2 ## @ERRCODE_UNDEFINED_PARAMETER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"there is no parameter $%d"

	.comm	_ERRCODE_AMBIGUOUS_PARAMETER,4,2 ## @ERRCODE_AMBIGUOUS_PARAMETER
L_.str.1:                               ## @.str.1
	.asciz	"inconsistent types deduced for parameter $%d"

L_.str.2:                               ## @.str.2
	.asciz	"%s versus %s"

	.no_dead_strip	_variable_coerce_param_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function variable_coerce_param_hook
_variable_coerce_param_hook:            ; @variable_coerce_param_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, [x1]
Lloh0:
	adrp	x9, _PARAM_EXTERN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PARAM_EXTERN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1, #8]
Lloh3:
	adrp	x26, _UNKNOWNOID@GOTPAGE
Lloh4:
	ldr	x26, [x26, _UNKNOWNOID@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
	mov	x20, x4
	mov	x21, x2
	mov	x22, x0
	ldr	x9, [x0]
	ldr	x10, [x9, #8]
	ldr	x25, [x10]
	ldrsw	x23, [x19, #16]
	cmp	w23, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	x9, [x9]
	ldr	w9, [x9]
	cmp	w23, w9
	b.le	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w24, [x8]
Lloh8:
	adrp	x8, _ERRCODE_UNDEFINED_PARAMETER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_PARAMETER@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_errmsg
	ldr	w1, [x19, #20]
	mov	x0, x22
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
	ldr	x8, [x26]
LBB0_5:
	sub	x26, x23, #1
	ldr	x9, [x25, x26, lsl #3]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.6:
	str	x21, [x25, x26, lsl #3]
	b	LBB0_11
LBB0_7:
	mov	x19, #0
LBB0_8:
	mov	x0, x19
	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_9:
	cmp	x9, x21
	b.eq	LBB0_11
; %bb.10:
Lloh13:
	adrp	x8, _ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w24, [x8]
Lloh16:
	adrp	x8, _ERRCODE_AMBIGUOUS_PARAMETER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ERRCODE_AMBIGUOUS_PARAMETER@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_errcode
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_errmsg
	ldr	x0, [x25, x26, lsl #3]
	bl	_format_type_be
	mov	x23, x0
	mov	x0, x21
	bl	_format_type_be
	mov	x2, x0
Lloh21:
	adrp	x0, l_.str.2@PAGE
Lloh22:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_errdetail
	ldr	w1, [x19, #20]
	mov	x0, x22
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_11:
	str	x21, [x19, #8]
	mov	w8, #-1
	str	w8, [x19, #24]
	mov	x0, x21
	bl	_get_typcollation
	str	w0, [x19, #28]
	tbnz	w20, #31, LBB0_8
; %bb.12:
	ldr	w8, [x19, #20]
	tbnz	w8, #31, LBB0_14
; %bb.13:
	cmp	w8, w20
	b.le	LBB0_8
LBB0_14:
	str	w20, [x19, #20]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PARAM_EXTERN,8,3               ; @PARAM_EXTERN
	.comm	_UNKNOWNOID,8,3                 ; @UNKNOWNOID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_UNDEFINED_PARAMETER,4,2 ; @ERRCODE_UNDEFINED_PARAMETER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"there is no parameter $%d"

	.comm	_ERRCODE_AMBIGUOUS_PARAMETER,4,2 ; @ERRCODE_AMBIGUOUS_PARAMETER
l_.str.1:                               ; @.str.1
	.asciz	"inconsistent types deduced for parameter $%d"

l_.str.2:                               ; @.str.2
	.asciz	"%s versus %s"

	.no_dead_strip	_variable_coerce_param_hook
.subsections_via_symbols
