	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function golomb_decoder_init
_golomb_decoder_init:                   ## @golomb_decoder_init
	.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	%rdi, %rbx
	movl	24(%rdi), %esi
	movl	28(%rdi), %edi
	callq	_compute_golomb_parameter
	movl	%eax, %r14d
	movl	%eax, (%rbx)
	movl	%eax, %edi
	callq	_bsr
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	movl	%ecx, 8(%rbx)
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	subl	%r14d, %edx
	movl	%edx, 4(%rbx)
	movl	$-1, 12(%rbx)
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	_golomb_decode_int_big_k@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_golomb_decode_int_small_k@GOTPCREL(%rip), %rax
LBB0_3:
	movq	%rax, 16(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_golomb_decode_int_big_k,4,2    ## @golomb_decode_int_big_k
	.comm	_golomb_decode_int_small_k,4,2  ## @golomb_decode_int_small_k
	.no_dead_strip	_golomb_decoder_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function golomb_decoder_init
_golomb_decoder_init:                   ; @golomb_decoder_init
	.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	x19, x0
	ldr	w0, [x0, #28]
	ldr	w1, [x19, #24]
	bl	_compute_golomb_parameter
	mov	x20, x0
	str	w0, [x19]
	bl	_bsr
	add	w8, w0, #1
	mov	w9, #1
	lsl	w9, w9, w8
	sub	w9, w9, w20
	stp	w9, w8, [x19, #4]
	mov	w8, #-1
Lloh0:
	adrp	x9, _golomb_decode_int_small_k@GOTPAGE
Lloh1:
	ldr	x9, [x9, _golomb_decode_int_small_k@GOTPAGEOFF]
	str	w8, [x19, #12]
Lloh2:
	adrp	x8, _golomb_decode_int_big_k@GOTPAGE
Lloh3:
	ldr	x8, [x8, _golomb_decode_int_big_k@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, gt
	str	x8, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_golomb_decode_int_big_k,4,2    ; @golomb_decode_int_big_k
	.comm	_golomb_decode_int_small_k,4,2  ; @golomb_decode_int_small_k
	.no_dead_strip	_golomb_decoder_init
.subsections_via_symbols
