	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function union_tuples
_union_tuples:                          ## @union_tuples
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_CurrentMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ALLOCSET_DEFAULT_SIZES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_AllocSetContextCreate
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_brin_deform_tuple
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %edi
	callq	_MemoryContextSwitchTo
	movq	8(%rbx), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	%rbx, %r15
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r12
	addq	%r13, %r12
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	addq	%r13, %r14
	movq	(%r15), %rdi
	leaq	1(%rbx), %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	_BRIN_PROCNUM_UNION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_index_getprocinfo
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_PointerGetDatum
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_PointerGetDatum
	movl	%eax, %ebx
	movq	%r14, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	callq	_PointerGetDatum
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_FunctionCall3Coll
	movq	8(%r15), %rax
	movslq	(%rax), %rax
	addq	$16, %r13
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rbx
	cmpq	%rax, %rcx
	jl	LBB0_2
LBB0_3:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MemoryContextDelete            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CurrentMemoryContext,4,2       ## @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"brin union"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ## @ALLOCSET_DEFAULT_SIZES
	.comm	_BRIN_PROCNUM_UNION,4,2         ## @BRIN_PROCNUM_UNION
	.no_dead_strip	_union_tuples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function union_tuples
_union_tuples:                          ; @union_tuples
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CurrentMemoryContext@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CurrentMemoryContext@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ALLOCSET_DEFAULT_SIZES@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AllocSetContextCreate
	str	w0, [sp, #12]                   ; 4-byte Folded Spill
	bl	_MemoryContextSwitchTo
	mov	x23, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, #0
	bl	_brin_deform_tuple
	mov	x22, x0
	mov	x0, x23
	bl	_MemoryContextSwitchTo
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x27, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x23, x8, x21
	ldr	x8, [x22]
	add	x24, x8, x21
	ldr	x0, [x20]
	add	x25, x27, #1
Lloh8:
	adrp	x8, _BRIN_PROCNUM_UNION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BRIN_PROCNUM_UNION@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_index_getprocinfo
	mov	x26, x0
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w27, [x8, x27, lsl #2]
	mov	x0, x20
	bl	_PointerGetDatum
	mov	x28, x0
	mov	x0, x23
	bl	_PointerGetDatum
	mov	x23, x0
	mov	x0, x24
	bl	_PointerGetDatum
	mov	x4, x0
	mov	x0, x26
	mov	x1, x27
	mov	x2, x28
	mov	x3, x23
	bl	_FunctionCall3Coll
	ldr	x8, [x20, #8]
	ldrsw	x8, [x8]
	add	x21, x21, #16
	mov	x27, x25
	cmp	x25, x8
	b.lt	LBB0_2
LBB0_3:
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_MemoryContextDelete
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CurrentMemoryContext,4,2       ; @CurrentMemoryContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"brin union"

	.comm	_ALLOCSET_DEFAULT_SIZES,4,2     ; @ALLOCSET_DEFAULT_SIZES
	.comm	_BRIN_PROCNUM_UNION,4,2         ; @BRIN_PROCNUM_UNION
	.no_dead_strip	_union_tuples
.subsections_via_symbols
