	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coerce_to_common_type          ## -- Begin function coerce_to_common_type
	.p2align	4, 0x90
_coerce_to_common_type:                 ## @coerce_to_common_type
	.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	%rcx, %r15
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	%edx, -48(%rbp)
	movq	%rsi, %rdi
	callq	_exprType
	movl	%eax, -44(%rbp)
	cmpl	%ebx, %eax
	je	LBB0_4
## %bb.1:
	movq	_COERCION_IMPLICIT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	leaq	-44(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	movl	$1, %edi
	callq	_can_coerce_type
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	-44(%rbp), %edx
	movl	-48(%rbp), %ecx
	movl	(%rbx), %r9d
	movq	_COERCE_IMPLICIT_CAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	$-1, %r8d
	pushq	$-1
	pushq	%rax
	callq	_coerce_type
	addq	$16, %rsp
	movq	%rax, %r13
	jmp	LBB0_4
LBB0_3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_CANNOT_COERCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	-44(%rbp), %edi
	callq	_format_type_be
	movl	%eax, %ebx
	movl	-48(%rbp), %edi
	callq	_format_type_be
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%eax, %ecx
	callq	_errmsg
	movq	%r13, %rdi
	callq	_exprLocation
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_parser_errposition
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COERCION_IMPLICIT,4,2          ## @COERCION_IMPLICIT
	.comm	_COERCE_IMPLICIT_CAST,4,2       ## @COERCE_IMPLICIT_CAST
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_CANNOT_COERCE,4,2      ## @ERRCODE_CANNOT_COERCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s could not convert type %s to %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coerce_to_common_type          ; -- Begin function coerce_to_common_type
	.p2align	2
_coerce_to_common_type:                 ; @coerce_to_common_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	str	w2, [sp, #12]
	mov	x0, x1
	bl	_exprType
	str	w0, [sp, #8]
	cmp	w0, w22
	b.eq	LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, _COERCION_IMPLICIT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _COERCION_IMPLICIT@GOTPAGEOFF]
	ldr	w3, [x22]
	add	x1, sp, #8
	add	x2, sp, #12
	mov	w0, #1
	bl	_can_coerce_type
	cbz	x0, LBB0_3
; %bb.2:
	ldp	w2, w3, [sp, #8]
	ldr	w5, [x22]
Lloh2:
	adrp	x8, _COERCE_IMPLICIT_CAST@GOTPAGE
Lloh3:
	ldr	x8, [x8, _COERCE_IMPLICIT_CAST@GOTPAGEOFF]
Lloh4:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	w4, #-1
	mov	w7, #-1
	bl	_coerce_type
	mov	x19, x0
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _ERRCODE_CANNOT_COERCE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_CANNOT_COERCE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w0, [sp, #8]
	bl	_format_type_be
	mov	x23, x0
	ldr	w0, [sp, #12]
	bl	_format_type_be
	mov	x3, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x23
	bl	_errmsg
	mov	x0, x19
	bl	_exprLocation
	mov	x1, x0
	mov	x0, x20
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_4:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_COERCION_IMPLICIT,4,2          ; @COERCION_IMPLICIT
	.comm	_COERCE_IMPLICIT_CAST,4,2       ; @COERCE_IMPLICIT_CAST
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_CANNOT_COERCE,4,2      ; @ERRCODE_CANNOT_COERCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s could not convert type %s to %s"

.subsections_via_symbols
