	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_list_rem_tail        ## -- Begin function hb_buffer_list_rem_tail
	.p2align	4, 0x90
_hb_buffer_list_rem_tail:               ## @hb_buffer_list_rem_tail
	.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_7
## %bb.1:
	movq	16(%rdi), %rax
	movq	24(%rdi), %rcx
	cmpq	%rax, %rcx
	je	LBB0_6
## %bb.2:
	testq	%rax, %rax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	movq	(%rcx), %rcx
	cmpq	%rax, %rcx
	jne	LBB0_3
## %bb.4:
	movq	$0, (%rdx)
	movq	%rdx, 16(%rdi)
	decq	8(%rdi)
	movq	8(%rax), %rcx
	subq	%rcx, (%rdi)
	jmp	LBB0_5
LBB0_6:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, (%rdi)
	testq	%rax, %rax
	je	LBB0_7
LBB0_5:
	movq	$0, (%rax)
	popq	%rbp
	retq
LBB0_7:
	xorl	%eax, %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	_hb_buffer_list_rem_tail        ; -- Begin function hb_buffer_list_rem_tail
	.p2align	2
_hb_buffer_list_rem_tail:               ; @hb_buffer_list_rem_tail
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	mov	x8, x0
	ldr	x0, [x0, #16]
	ldr	x9, [x8, #24]
	cmp	x9, x0
	b.eq	LBB0_5
; %bb.2:
	cbz	x0, LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x9
	ldr	x9, [x9]
	cmp	x9, x0
	b.ne	LBB0_3
; %bb.4:
	str	xzr, [x10]
	str	x10, [x8, #16]
	add	x9, x0, #8
	ldr	q0, [x8]
	movi.2d	v1, #0xffffffffffffffff
	ld1.d	{ v1 }[0], [x9]
	movi.2d	v2, #0xffffffffffffffff
	sub.2d	v1, v0, v1
	add.2d	v0, v0, v2
	mov.d	v1[1], v0[1]
	str	q1, [x8]
	b	LBB0_6
LBB0_5:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8]
	cbz	x0, LBB0_7
LBB0_6:
	str	xzr, [x0]
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
