	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_copy                 ## -- Begin function hb_buffer_copy
	.p2align	4, 0x90
_hb_buffer_copy:                        ## @hb_buffer_copy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r14d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.2:
	movq	%rdi, %r15
	movq	(%rbx), %rdx
	cmpq	%rdx, (%rdi)
	jl	LBB0_5
## %bb.3:
	movl	20(%r15), %edi
	movl	20(%rbx), %esi
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	%rax, 8(%r15)
	movl	16(%rbx), %ecx
	movl	%ecx, 16(%r15)
	movq	_FRAME_BUF@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_hb_buffer_init_planes
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FRAME_BUF,8,3                  ## @FRAME_BUF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_copy                 ; -- Begin function hb_buffer_copy
	.p2align	2
_hb_buffer_copy:                        ; @hb_buffer_copy
	.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	x19, x0
	mov	w0, #-1
	cbz	x19, LBB0_7
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_7
; %bb.2:
	ldr	x8, [x19]
	ldr	x2, [x20]
	cmp	x8, x2
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #-1
	b	LBB0_7
LBB0_4:
	ldr	w0, [x19, #20]
	ldr	w1, [x20, #20]
	bl	_memcpy
	ldr	x8, [x20, #8]
	str	x8, [x19, #8]
	ldr	w9, [x20, #16]
	str	w9, [x19, #16]
Lloh0:
	adrp	x9, _FRAME_BUF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FRAME_BUF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_hb_buffer_init_planes
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FRAME_BUF,8,3                  ; @FRAME_BUF
.subsections_via_symbols
