	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_symbol
_remove_symbol:                         ## @remove_symbol
	.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	%rsi, %rbx
	movq	(%rdi), %r14
	subq	8(%r14), %rbx
	xorl	%edi, %edi
	cmpl	$0, (%r14)
	setle	%dil
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	shrq	$2, %rbx
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.3:
	xorl	%edi, %edi
	cmpl	%ebx, (%r14)
	setle	%dil
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edi
LBB0_4:
	callq	_snd_BUG_ON
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	movq	8(%r14), %rax
	movslq	%ebx, %rcx
	movl	$1, (%rax,%rcx,4)
	movl	4(%r14), %eax
	cmpl	%ebx, %eax
	jle	LBB0_7
## %bb.6:
	movl	%ebx, 4(%r14)
	movl	%ebx, %eax
LBB0_7:
	movl	(%r14), %ecx
	leal	-1(%rcx), %edx
	cmpl	%ebx, %edx
	jne	LBB0_9
## %bb.8:
	movl	%ebx, (%r14)
	movl	%ebx, %ecx
LBB0_9:
	cmpl	%ecx, %eax
	jle	LBB0_11
## %bb.10:
	movl	%ecx, 4(%r14)
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_remove_symbol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_symbol
_remove_symbol:                         ; @remove_symbol
	.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	x19, x1
	ldr	x20, [x0]
	ldr	x21, [x20, #8]
	ldr	w8, [x20]
	cmp	w8, #1
	cset	w0, lt
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_10
; %bb.1:
	sub	x8, x19, x21
	lsr	x19, x8, #2
	tbnz	w19, #31, LBB0_3
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, w19
	cset	w0, le
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_10
	b	LBB0_4
LBB0_3:
	mov	w0, #1
	bl	_snd_BUG_ON
	cbnz	x0, LBB0_10
LBB0_4:
	ldr	x8, [x20, #8]
	mov	w9, #1
	str	w9, [x8, w19, sxtw #2]
	ldr	w8, [x20, #4]
	cmp	w8, w19
	b.le	LBB0_6
; %bb.5:
	str	w19, [x20, #4]
	mov	x8, x19
LBB0_6:
	ldr	w9, [x20]
	sub	w10, w9, #1
	cmp	w10, w19
	b.ne	LBB0_8
; %bb.7:
	str	w19, [x20]
	mov	x9, x19
LBB0_8:
	cmp	w8, w9
	b.le	LBB0_10
; %bb.9:
	str	w9, [x20, #4]
LBB0_10:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_remove_symbol
.subsections_via_symbols
