	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function merge_collation_state
_merge_collation_state:                 ## @merge_collation_state
	.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	%r9, %rbx
	movl	%edx, %r14d
	movq	%rdi, %r15
	cmpl	%esi, (%r9)
	jge	LBB0_3
## %bb.1:
	movq	%r15, 8(%rbx)
	movl	%esi, (%rbx)
	movl	%r14d, 16(%rbx)
	cmpl	$131, %esi
	jne	LBB0_12
## %bb.2:
	movq	%rcx, 32(%rbx)
	movl	%r8d, 20(%rbx)
	jmp	LBB0_12
LBB0_3:
	jne	LBB0_12
## %bb.4:
	cmpl	$130, %esi
	je	LBB0_11
## %bb.5:
	cmpl	$129, %esi
	jne	LBB0_12
## %bb.6:
	movq	8(%rbx), %rax
	cmpq	%r15, %rax
	je	LBB0_12
## %bb.7:
	movq	_DEFAULT_COLLATION_OID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	je	LBB0_8
## %bb.9:
	cmpq	%r15, %rcx
	je	LBB0_12
## %bb.10:
	movl	$131, (%rbx)
	movq	%r15, 32(%rbx)
	movl	%r14d, 20(%rbx)
	jmp	LBB0_12
LBB0_11:
	cmpq	%r15, 8(%rbx)
	je	LBB0_12
## %bb.13:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_COLLATION_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	8(%rbx), %rdi
	callq	_get_collation_name
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_get_collation_name
	leaq	L_.str(%rip), %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_errmsg
	movl	24(%rbx), %edi
	movl	%r14d, %esi
	callq	_parser_errposition
	movl	%r12d, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ereport                        ## TAILCALL
LBB0_8:
	movq	%r15, 8(%rbx)
	movl	$129, (%rbx)
	movl	%r14d, 16(%rbx)
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEFAULT_COLLATION_OID,8,3      ## @DEFAULT_COLLATION_OID
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_COLLATION_MISMATCH,4,2 ## @ERRCODE_COLLATION_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"collation mismatch between explicit collations \"%s\" and \"%s\""

	.no_dead_strip	_merge_collation_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function merge_collation_state
_merge_collation_state:                 ; @merge_collation_state
	.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, x5
	mov	x20, x2
	mov	x21, x0
	ldr	w8, [x5]
	cmp	w8, w1
	b.ge	LBB0_3
; %bb.1:
	str	x21, [x19, #8]
	str	w1, [x19]
	str	w20, [x19, #16]
	cmp	w1, #131
	b.ne	LBB0_13
; %bb.2:
	str	x3, [x19, #32]
	str	w4, [x19, #20]
	b	LBB0_13
LBB0_3:
	b.ne	LBB0_13
; %bb.4:
	cmp	w1, #130
	b.eq	LBB0_10
; %bb.5:
	cmp	w1, #129
	b.ne	LBB0_13
; %bb.6:
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.eq	LBB0_13
; %bb.7:
Lloh0:
	adrp	x9, _DEFAULT_COLLATION_OID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DEFAULT_COLLATION_OID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.8:
	cmp	x9, x21
	b.eq	LBB0_13
; %bb.9:
	mov	w8, #131
	str	w8, [x19]
	str	x21, [x19, #32]
	str	w20, [x19, #20]
	b	LBB0_13
LBB0_10:
	ldr	x8, [x19, #8]
	cmp	x8, x21
	b.eq	LBB0_13
; %bb.11:
Lloh3:
	adrp	x8, _ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _ERRCODE_COLLATION_MISMATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERRCODE_COLLATION_MISMATCH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x0, [x19, #8]
	bl	_get_collation_name
	mov	x23, x0
	mov	x0, x21
	bl	_get_collation_name
	mov	x2, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_errmsg
	ldr	w0, [x19, #24]
	mov	x1, x20
	bl	_parser_errposition
	mov	x1, x0
	mov	x0, x22
	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	_ereport
LBB0_12:
	str	x21, [x19, #8]
	mov	w8, #129
	str	w8, [x19]
	str	w20, [x19, #16]
LBB0_13:
	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 AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DEFAULT_COLLATION_OID,8,3      ; @DEFAULT_COLLATION_OID
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_COLLATION_MISMATCH,4,2 ; @ERRCODE_COLLATION_MISMATCH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"collation mismatch between explicit collations \"%s\" and \"%s\""

	.no_dead_strip	_merge_collation_state
.subsections_via_symbols
