	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fibheap_union                  ## -- Begin function fibheap_union
	.p2align	4, 0x90
_fibheap_union:                         ## @fibheap_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	16(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rdx
	movq	%rcx, 8(%rdx)
	movq	(%rcx), %rsi
	movq	%rax, 8(%rsi)
	movq	%rsi, (%rax)
	movq	%rdx, (%rcx)
	movq	8(%r14), %rax
	addq	%rax, 8(%rbx)
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_fibheap_compare
	testq	%rax, %rax
	jns	LBB0_5
## %bb.4:
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_5:
	movq	%r14, %rdi
	jmp	LBB0_6
LBB0_1:
	movq	%rbx, %rdi
	movq	%r14, %rbx
LBB0_6:
	callq	_free
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	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	_fibheap_union                  ; -- Begin function fibheap_union
	.p2align	2
_fibheap_union:                         ; @fibheap_union
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x9, [x20, #16]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	x10, [x8]
	str	x9, [x10, #8]
	ldr	x11, [x9]
	str	x8, [x11, #8]
	str	x11, [x8]
	str	x10, [x9]
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	add	x8, x9, x8
	str	x8, [x19, #8]
	ldr	w1, [x20]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_fibheap_compare
	tbz	x0, #63, LBB0_4
; %bb.3:
	ldr	w8, [x20]
	str	w8, [x19]
LBB0_4:
	mov	x0, x20
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	mov	x19, x20
LBB0_6:
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
