	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_list_rem             ## -- Begin function hb_buffer_list_rem
	.p2align	4, 0x90
_hb_buffer_list_rem:                    ## @hb_buffer_list_rem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	16(%rdi), %rcx
	cmpq	%rsi, %rcx
	je	LBB0_8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, %rax
	movq	(%rcx), %rcx
	cmpq	%rsi, %rcx
	jne	LBB0_2
## %bb.4:
	decl	12(%rdi)
	movl	8(%rsi), %ecx
	subl	%ecx, 8(%rdi)
	movq	(%rsi), %rcx
	movq	%rcx, (%rax)
	cmpq	%rsi, (%rdi)
	jne	LBB0_6
## %bb.5:
	movq	%rax, (%rdi)
LBB0_6:
	movq	$0, (%rsi)
	jmp	LBB0_10
LBB0_9:
	xorl	%esi, %esi
LBB0_10:
	movq	%rsi, %rax
	popq	%rbp
	retq
LBB0_8:
	popq	%rbp
	jmp	_hb_buffer_list_rem_head        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_list_rem             ; -- Begin function hb_buffer_list_rem
	.p2align	2
_hb_buffer_list_rem:                    ; @hb_buffer_list_rem
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x9, [x0, #16]
	cmp	x9, x1
	b.eq	LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x9
	ldr	x9, [x9]
	cmp	x9, x1
	b.ne	LBB0_2
; %bb.4:
	add	x9, x1, #8
	ldr	d0, [x0, #8]
	movi.2d	v1, #0xffffffffffffffff
	movi.2d	v2, #0xffffffffffffffff
	ld1.s	{ v2 }[0], [x9]
	sub.2s	v2, v0, v2
	add.2s	v0, v0, v1
	mov.s	v2[1], v0[1]
	str	d2, [x0, #8]
	ldr	x9, [x1]
	str	x9, [x8]
	ldr	x9, [x0]
	cmp	x9, x1
	b.ne	LBB0_6
; %bb.5:
	str	x8, [x0]
LBB0_6:
	str	xzr, [x1]
	mov	x0, x1
	ret
LBB0_7:
	mov	x0, #0
	ret
LBB0_8:
	b	_hb_buffer_list_rem_head
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
