	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_ue_golomb_long
_set_ue_golomb_long:                    ## @set_ue_golomb_long
	.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
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_UINT32_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%esi, (%rax)
	setg	%dil
	callq	_av_assert2
	cmpl	$255, %ebx
	jg	LBB0_2
## %bb.1:
	movq	_ff_ue_golomb_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	(%rax,%rcx,4), %esi
	incl	%ebx
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_put_bits                       ## TAILCALL
LBB0_2:
	incl	%ebx
	movl	%ebx, %edi
	callq	_av_log2
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax), %esi
	incl	%esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_put_bits64                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT32_MAX,4,2                 ## @UINT32_MAX
	.comm	_ff_ue_golomb_len,8,3           ## @ff_ue_golomb_len
	.no_dead_strip	_set_ue_golomb_long
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_ue_golomb_long
_set_ue_golomb_long:                    ; @set_ue_golomb_long
	.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
Lloh0:
	adrp	x8, _UINT32_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UINT32_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	cset	w0, gt
	bl	_av_assert2
	cmp	w20, #255
	b.gt	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ff_ue_golomb_len@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ff_ue_golomb_len@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w1, [x8, w20, sxtw #2]
	add	w2, w20, #1
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_put_bits
LBB0_2:
	add	w20, w20, #1
	mov	x0, x20
	bl	_av_log2
	mov	w1, #1
	bfi	w1, w0, #1, #31
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_put_bits64
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT32_MAX,4,2                 ; @UINT32_MAX
	.comm	_ff_ue_golomb_len,8,3           ; @ff_ue_golomb_len
	.no_dead_strip	_set_ue_golomb_long
.subsections_via_symbols
