	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hb_buffer_reduce               ## -- Begin function hb_buffer_reduce
	.p2align	4, 0x90
_hb_buffer_reduce:                      ## @hb_buffer_reduce
	.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	%esi, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %eax
	leal	7(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$3, %ecx
	cmpl	%esi, %ecx
	jg	LBB0_2
## %bb.1:
	cmpq	$0, 16(%r15)
	jne	LBB0_3
LBB0_2:
	movl	%r14d, %edi
	callq	_hb_buffer_init
	movq	%rax, %rbx
	movq	%rax, -32(%rbp)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_hb_buffer_swap_copy
	movq	16(%r15), %rdi
	movq	16(%rbx), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	$0, 8(%rbx)
	leaq	-32(%rbp), %rdi
	callq	_hb_buffer_close
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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_reduce               ; -- Begin function hb_buffer_reduce
	.p2align	2
_hb_buffer_reduce:                      ; @hb_buffer_reduce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldr	w8, [x0]
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w1, w8, asr #3
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	cbnz	x8, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_hb_buffer_init
	mov	x21, x0
	str	x0, [sp, #8]
	mov	x0, x20
	mov	x1, x21
	bl	_hb_buffer_swap_copy
	ldr	x0, [x20, #16]
	ldr	x1, [x21, #16]
	mov	x2, x19
	bl	_memcpy
	str	xzr, [x21, #8]
	add	x0, sp, #8
	bl	_hb_buffer_close
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
