	.file	"extr_btree_utils_var.c_gbt_var_bin_union.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	gbt_var_bin_union
	.type	gbt_var_bin_union, @function
gbt_var_bin_union:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, edx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR [rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	gbt_var_key_readable@PLT
	mov	rbx, rax
	mov	rbp, rdx
	cmp	rdx, rax
	je	.L11
.L2:
	mov	edi, DWORD PTR [r12]
	call	DatumGetPointer@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR [r12]
	call	DatumGetPointer@PLT
	mov	rdi, rax
	call	gbt_var_key_readable@PLT
	mov	r13, QWORD PTR [rsp]
	mov	rcx, r14
	mov	rsi, rbx
	mov	QWORD PTR 24[rsp], rdx
	mov	rdi, rax
	mov	QWORD PTR 8[rsp], rdx
	mov	edx, r15d
	mov	QWORD PTR 16[rsp], rax
	call	[QWORD PTR 0[r13]]
	mov	r8, QWORD PTR 8[rsp]
	test	rax, rax
	jle	.L4
	mov	QWORD PTR 16[rsp], rbx
	mov	rcx, r14
	mov	edx, r15d
	mov	rsi, rbp
	mov	rdi, r8
	call	[QWORD PTR 0[r13]]
	test	rax, rax
	jns	.L5
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	QWORD PTR 16[rsp], rbx
.L7:
	mov	QWORD PTR 24[rsp], rbp
.L5:
	lea	rdi, 16[rsp]
	call	gbt_var_key_copy@PLT
	mov	edi, eax
	call	PointerGetDatum@PLT
	mov	DWORD PTR [r12], eax
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR [rsp]
	mov	rcx, r14
	mov	edx, r15d
	mov	rsi, rbp
	mov	rdi, r8
	call	[QWORD PTR [rax]]
	test	rax, rax
	jns	.L1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, r13
	mov	rdx, r14
	call	gbt_var_leaf2node@PLT
	mov	rdi, rax
	cmp	r13, rax
	je	.L2
	call	gbt_var_key_readable@PLT
	mov	rbx, rax
	mov	rbp, rdx
	jmp	.L2
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gbt_var_bin_union, .-gbt_var_bin_union
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_btree_utils_var.c_gbt_var_bin_union.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gbt_var_bin_union
	.syntax unified
	.arm
	.fpu softvfp
	.type	gbt_var_bin_union, %function
gbt_var_bin_union:
	@ args = 4, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	sub	sp, sp, #36
	ldr	r3, .L13
	mov	r4, r0
	add	r0, sp, #4
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	mov	r7, r1
	ldr	r10, [sp, #72]
	bl	gbt_var_key_readable
	ldmib	sp, {r8, r9}
	cmp	r9, r8
	beq	.L11
.L2:
	ldr	r0, [r4]
	bl	DatumGetPointer
	cmp	r0, #0
	beq	.L3
	ldr	r0, [r4]
	bl	DatumGetPointer
	mov	r1, r0
	add	r0, sp, #20
	bl	gbt_var_key_readable
	ldr	r0, [sp, #20]
	ldr	r7, [sp, #24]
	mov	r3, r10
	mov	r2, r6
	mov	r1, r8
	ldr	fp, [r5]
	str	r0, [sp, #12]
	str	r7, [sp, #16]
	blx	fp
	cmp	r0, #0
	ble	.L4
	mov	r3, r10
	mov	r2, r6
	mov	r0, r7
	mov	r1, r9
	ldr	r5, [r5]
	str	r8, [sp, #12]
	blx	r5
	cmp	r0, #0
	bge	.L5
.L7:
	str	r9, [sp, #16]
.L5:
	add	r0, sp, #12
	bl	gbt_var_key_copy
	bl	PointerGetDatum
	str	r0, [r4]
	b	.L1
.L3:
	add	r0, sp, #12
	str	r8, [sp, #12]
	str	r9, [sp, #16]
	bl	gbt_var_key_copy
	bl	PointerGetDatum
	str	r0, [r4]
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r3, r10
	mov	r2, r6
	mov	r0, r7
	mov	r1, r9
	ldr	r5, [r5]
	blx	r5
	cmp	r0, #0
	bge	.L1
	b	.L7
.L11:
	mov	r1, r5
	mov	r2, r10
	mov	r0, r7
	bl	gbt_var_leaf2node
	cmp	r7, r0
	mov	r1, r0
	beq	.L2
	add	r0, sp, #4
	bl	gbt_var_key_readable
	ldmib	sp, {r8, r9}
	b	.L2
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	gbt_var_bin_union, .-gbt_var_bin_union
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
