	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function golombset_decode
_golombset_decode:                      ## @golombset_decode
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r15
	movq	%rcx, %r14
	movl	%edi, %ebx
	movq	%rsi, -72(%rbp)
	addq	%rsi, %rdx
	movq	%rdx, -64(%rbp)
	movl	$8, -56(%rbp)
	leaq	-72(%rbp), %rdi
	leaq	-48(%rbp), %rdx
	movl	%ebx, %esi
	callq	_golombset_decode_value
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_2:
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%r15), %r12
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rax
	leaq	(%rax,%r13), %rcx
	movq	%rcx, (%r14,%r12,8)
	incq	%r12
	addq	%rax, %r13
	incq	%r13
	leaq	-72(%rbp), %rdi
	movl	%ebx, %esi
	leaq	-48(%rbp), %rdx
	callq	_golombset_decode_value
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	movq	%r12, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_4:
	movl	$-1, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_golombset_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function golombset_decode
_golombset_decode:                      ; @golombset_decode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x4
	mov	x20, x3
	mov	x21, x0
	add	x8, x1, x2
	stp	x1, x8, [sp, #8]
	mov	w8, #8
	str	w8, [sp, #24]
	add	x0, sp, #8
	mov	x2, sp
	mov	x1, x21
	bl	_golombset_decode_value
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, #0
	b	LBB0_5
LBB0_2:
	mov	x22, #0
	mov	x8, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp]
	add	x9, x9, x22
	add	x23, x8, #1
	str	x9, [x20, x8, lsl #3]
	add	x22, x9, #1
	add	x0, sp, #8
	mov	x2, sp
	mov	x1, x21
	bl	_golombset_decode_value
	mov	x8, x23
	cbz	x0, LBB0_3
LBB0_5:
	mov	w0, #0
	str	x23, [x19]
	b	LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_golombset_decode
.subsections_via_symbols
