	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findOverlap
_findOverlap:                           ## @findOverlap
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_INT64_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	leaq	-44(%rbp), %rdi
	callq	_hb_buffer_list_clear
	movq	%rbx, %rdi
	callq	_hb_buffer_list_head
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movq	_HB_BUF_FLAG_EOF@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	testl	%eax, 8(%rbx)
	jne	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rax
	cmpq	%r15, %rax
	jg	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, 24(%rbx)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_hb_buffer_dup
	movq	%r15, 16(%rax)
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	callq	_hb_buffer_list_append
	movq	24(%rbx), %rax
	cmpq	%rax, %r13
	jle	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, (%r14)
	movq	%rax, %r13
	jmp	LBB0_9
LBB0_4:
	cmpq	%rax, %r13
	jle	LBB0_10
## %bb.5:
	movq	%rax, (%r14)
LBB0_10:
	leaq	-44(%rbp), %rdi
	callq	_hb_buffer_list_clear
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	_HB_BUF_FLAG_EOF,4,2            ## @HB_BUF_FLAG_EOF
	.no_dead_strip	_findOverlap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findOverlap
_findOverlap:                           ; @findOverlap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
	mov	x0, x21
	bl	_hb_buffer_list_head
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x23, _HB_BUF_FLAG_EOF@GOTPAGE
Lloh4:
	ldr	x23, [x23, _HB_BUF_FLAG_EOF@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21]
	cbz	x21, LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #8]
	ldr	w9, [x23]
	tst	w9, w8
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #16]
	cmp	x8, x20
	b.gt	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x21, #24]
	cmp	x8, x20
	b.le	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_hb_buffer_dup
	mov	x1, x0
	str	x20, [x0, #16]
	add	x0, sp, #12
	bl	_hb_buffer_list_append
	ldr	x8, [x21, #24]
	cmp	x22, x8
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x8, [x19]
	mov	x22, x8
	b	LBB0_2
LBB0_8:
	cmp	x22, x8
	b.le	LBB0_10
; %bb.9:
	str	x8, [x19]
LBB0_10:
	add	x0, sp, #12
	bl	_hb_buffer_list_clear
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	_HB_BUF_FLAG_EOF,4,2            ; @HB_BUF_FLAG_EOF
	.no_dead_strip	_findOverlap
.subsections_via_symbols
