	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gistunionsubkeyvec
_gistunionsubkeyvec:                    ## @gistunionsubkeyvec
	.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	%rdx, %r13
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdx), %edi
	shll	$2, %edi
	callq	_palloc
	movq	%rax, %r15
	movl	(%r13), %edi
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	movq	8(%r13), %rax
	movq	24(%r13), %rcx
	xorl	%esi, %esi
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-4(%r12,%rbx,4), %edi
	movslq	%edx, %rbx
	incl	%edx
	movl	%edi, (%r15,%rbx,4)
	movl	(%r13), %edi
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	movslq	%edi, %rbx
	cmpq	%rbx, %rsi
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rsi,8), %rbx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, (%rcx,%rbx,8)
	jne	LBB0_6
	jmp	LBB0_5
LBB0_1:
	xorl	%edx, %edx
LBB0_7:
	movl	16(%r13), %r8d
	movl	20(%r13), %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_gistMakeUnionItVec
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gistunionsubkeyvec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gistunionsubkeyvec
_gistunionsubkeyvec:                    ; @gistunionsubkeyvec
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w8, [x2]
	lsl	w0, w8, #2
	bl	_palloc
	mov	x19, x0
	ldr	w10, [x21]
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x8, #0
	mov	w2, #0
	ldr	x9, [x21, #24]
	ldr	x11, [x21, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x22, x12, lsl #2
	ldur	w10, [x10, #-4]
	str	w10, [x19, w2, sxtw #2]
	add	w2, w2, #1
	ldr	w10, [x21]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x8, w10, sxtw
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x8, lsl #3]
	cbz	x9, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x13, [x9, x12, lsl #3]
	cbnz	x13, LBB0_3
	b	LBB0_2
LBB0_6:
	mov	w2, #0
LBB0_7:
	ldp	w4, w3, [x21, #16]
	mov	x0, x20
	mov	x1, x19
	bl	_gistMakeUnionItVec
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pfree
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gistunionsubkeyvec
.subsections_via_symbols
