	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_list_rem_head        ## -- Begin function hb_buffer_list_rem_head
	.p2align	4, 0x90
_hb_buffer_list_rem_head:               ## @hb_buffer_list_rem_head
	.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_6
## %bb.1:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	cmpq	16(%rdi), %rax
	jne	LBB0_4
## %bb.3:
	movq	$0, 16(%rdi)
LBB0_4:
	movq	(%rax), %rcx
	movq	%rcx, 8(%rdi)
	decl	4(%rdi)
	movl	8(%rax), %ecx
	subl	%ecx, (%rdi)
	movq	$0, (%rax)
	popq	%rbp
	retq
LBB0_6:
	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_head        ; -- Begin function hb_buffer_list_rem_head
	.p2align	2
_hb_buffer_list_rem_head:               ; @hb_buffer_list_rem_head
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	mov	x8, x0
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x9, [x8, #16]
	cmp	x0, x9
	b.ne	LBB0_4
; %bb.3:
	str	xzr, [x8, #16]
LBB0_4:
	ldr	x9, [x0]
	str	x9, [x8, #8]
	add	x9, x0, #8
	ldr	d0, [x8]
	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, [x8]
	str	xzr, [x0]
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
