	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gbt_var_union                  ## -- Begin function gbt_var_union
	.p2align	4, 0x90
_gbt_var_union:                         ## @gbt_var_union
	.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	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movl	(%rdi), %r13d
	movl	$4, (%rsi)
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_DatumGetPointer
	movq	%rax, %rdi
	callq	_gbt_var_key_readable
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_gbt_var_key_copy
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movl	%eax, -44(%rbp)
	cmpl	$2, %r13d
	jl	LBB0_3
## %bb.1:
	movl	$1, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movl	(%rax,%r14,4), %edi
	callq	_DatumGetPointer
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	movl	%r12d, %edx
	movq	%r15, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_gbt_var_bin_union
	incq	%r14
	cmpq	%r14, %r13
	jne	LBB0_2
LBB0_3:
	cmpq	$0, (%r15)
	movl	-44(%rbp), %edi
	je	LBB0_5
## %bb.4:
	callq	_DatumGetPointer
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_gbt_var_node_cp_len
	movl	%eax, %ebx
	movl	-44(%rbp), %edi
	callq	_DatumGetPointer
	incl	%ebx
	movq	%rax, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_gbt_var_node_truncate
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movl	%eax, %edi
	movl	%eax, -44(%rbp)
LBB0_5:
	callq	_DatumGetPointer
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gbt_var_union                  ; -- Begin function gbt_var_union
	.p2align	2
_gbt_var_union:                         ; @gbt_var_union
	.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	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x0
	ldr	w23, [x0]
	mov	w8, #4
	str	w8, [x1]
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_DatumGetPointer
	bl	_gbt_var_key_readable
	str	w0, [sp, #8]
	add	x0, sp, #8
	bl	_gbt_var_key_copy
	bl	_PointerGetDatum
	str	w0, [sp, #12]
	cmp	w23, #2
	b.lt	LBB0_3
; %bb.1:
	lsl	x23, x23, #2
	mov	w24, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #8]
	ldr	w0, [x8, x24]
	bl	_DatumGetPointer
	mov	x1, x0
	add	x0, sp, #12
	mov	x2, x21
	mov	x3, x19
	mov	x4, x20
	bl	_gbt_var_bin_union
	add	x24, x24, #4
	cmp	x23, x24
	b.ne	LBB0_2
LBB0_3:
	ldr	x8, [x19]
	ldr	w0, [sp, #12]
	cbz	x8, LBB0_5
; %bb.4:
	bl	_DatumGetPointer
	mov	x1, x19
	bl	_gbt_var_node_cp_len
	mov	x20, x0
	ldr	w0, [sp, #12]
	bl	_DatumGetPointer
	add	w1, w20, #1
	mov	x2, x19
	bl	_gbt_var_node_truncate
	bl	_PointerGetDatum
	str	w0, [sp, #12]
LBB0_5:
	bl	_DatumGetPointer
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
