	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc_bits_golomb_dec            ## -- Begin function mpc_bits_golomb_dec
	.p2align	4, 0x90
_mpc_bits_golomb_dec:                   ## @mpc_bits_golomb_dec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %r8d
	movq	(%rdi), %rax
	movl	8(%rdi), %edx
	movl	$-1, %esi
	movl	%edx, %ecx
	shll	%cl, %esi
	notl	%esi
	xorl	%r9d, %r9d
	andl	(%rax), %esi
	jne	LBB0_4
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rax), %esi
	addq	$4, %rax
	movl	$8, 8(%rdi)
	testl	%esi, %esi
	jne	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	$8, %edx
	jmp	LBB0_1
LBB0_2:
	movl	%edx, %r9d
	movq	%rax, (%rdi)
	movl	$8, %edx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r9d
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	decl	%edx
	btl	%edx, %esi
	jae	LBB0_3
## %bb.5:
	cmpl	%r8d, %edx
	jae	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	addl	$8, %edx
	movl	%edx, 8(%rdi)
	shll	$8, %esi
	orl	4(%rax), %esi
	addq	$4, %rax
	cmpl	%r8d, %edx
	jb	LBB0_6
## %bb.7:
	movq	%rax, (%rdi)
LBB0_8:
	movl	%r8d, %ecx
	shll	%cl, %r9d
	subl	%r8d, %edx
	movl	%edx, %ecx
	shrl	%cl, %esi
	movl	$-1, %eax
	movl	%r8d, %ecx
	shll	%cl, %eax
	movl	%edx, 8(%rdi)
	notl	%eax
	andl	%esi, %eax
	orl	%r9d, %eax
	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	_mpc_bits_golomb_dec            ; -- Begin function mpc_bits_golomb_dec
	.p2align	2
_mpc_bits_golomb_dec:                   ; @mpc_bits_golomb_dec
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	ldr	w11, [x0, #8]
	mov	w10, #-1
	lsl	w10, w10, w11
	bics	w9, w9, w10
	b.eq	LBB0_2
; %bb.1:
	mov	w10, #0
	sub	w11, w11, #1
	b	LBB0_6
LBB0_2:
	ldr	w9, [x8, #4]!
	mov	w10, #8
	str	w10, [x0, #8]
	cbnz	w9, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w11, #8
	ldr	w9, [x8, #4]!
	str	w10, [x0, #8]
	cbz	w9, LBB0_3
LBB0_4:
	mov	x10, x11
	str	x8, [x0]
	mov	w11, #8
	sub	w11, w11, #1
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w10, w10, #1
	sub	w11, w11, #1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w12, w9, w11
	tbz	w12, #0, LBB0_5
; %bb.7:
	cmp	w11, w1
	b.hs	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w11, #8
	str	w11, [x0, #8]
	ldr	w12, [x8, #4]!
	orr	w9, w12, w9, lsl #8
	cmp	w11, w1
	b.lo	LBB0_8
; %bb.9:
	str	x8, [x0]
LBB0_10:
	sub	w8, w11, w1
	str	w8, [x0, #8]
	lsl	w10, w10, w1
	lsr	w8, w9, w8
	mov	w9, #-1
	lsl	w9, w9, w1
	bic	w8, w8, w9
	orr	w0, w8, w10
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
