	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_frame_end
_find_frame_end:                        ## @find_frame_end
	.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
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	4(%rdi), %r12d
	movl	8(%rdi), %edx
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
LBB0_10:
	testl	%r13d, %r13d
	movl	$0, %eax
	jne	LBB0_11
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%ebx
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	cmpl	%r13d, %ebx
	jge	LBB0_4
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	shll	$8, %edx
	movslq	%ebx, %rcx
	orl	(%r15,%rcx,4), %edx
	leal	4194304(%rdx), %ecx
	cmpl	$4128767, %ecx                  ## imm = 0x3EFFFF
	ja	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=2
	movl	%edx, %ecx
	andl	$-65536, %ecx                   ## imm = 0xFFFF0000
	cmpl	$-2621440, %ecx                 ## imm = 0xFFD80000
	je	LBB0_14
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=2
	leal	2490368(%rdx), %ecx
	cmpl	$-655361, %ecx                  ## imm = 0xFFF5FFFF
	ja	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=2
	movzwl	%dx, %esi
	decl	%esi
	movl	%esi, (%r14)
	testl	%esi, %esi
	jg	LBB0_26
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	(%r14), %esi
	testl	%esi, %esi
	jle	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_12 Depth=2
	movl	%r13d, %edi
	subl	%ebx, %edi
	callq	_FFMIN
	addl	%eax, %ebx
	subl	%eax, (%r14)
	xorl	%edx, %edx
	cmpl	%r13d, %ebx
	jl	LBB0_12
	jmp	LBB0_4
LBB0_2:
	testl	%r13d, %r13d
	jle	LBB0_3
## %bb.6:
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r13d, %edi
	subl	%ebx, %edi
	callq	_FFMIN
	addl	%eax, %ebx
	subl	%eax, (%r14)
	xorl	%edx, %edx
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r13d, %ebx
	jge	LBB0_3
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %edx
	movslq	%ebx, %rcx
	orl	(%r15,%rcx,4), %edx
	leal	4194304(%rdx), %ecx
	cmpl	$4128767, %ecx                  ## imm = 0x3EFFFF
	ja	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%edx, %ecx
	andl	$-65536, %ecx                   ## imm = 0xFFFF0000
	cmpl	$-2621440, %ecx                 ## imm = 0xFFD80000
	je	LBB0_9
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	leal	2490368(%rdx), %ecx
	cmpl	$-655361, %ecx                  ## imm = 0xFFF5FFFF
	ja	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movzwl	%dx, %esi
	decl	%esi
	movl	%esi, (%r14)
	testl	%esi, %esi
	jg	LBB0_19
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %esi
	testl	%esi, %esi
	jg	LBB0_19
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	jmp	LBB0_20
LBB0_3:
	xorl	%r12d, %r12d
LBB0_4:
	movl	%r12d, 4(%r14)
	movl	%edx, 8(%r14)
	movq	_END_NOT_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	$0, 4(%r14)
	addl	$-3, %ebx
	movl	%ebx, %eax
	jmp	LBB0_5
LBB0_9:
	incl	%ebx
	movl	$1, %r12d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_END_NOT_FOUND,4,2              ## @END_NOT_FOUND
	.no_dead_strip	_find_frame_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_frame_end
_find_frame_end:                        ; @find_frame_end
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldp	w22, w8, [x0, #4]
	cbz	w22, LBB0_11
; %bb.1:
	mov	w23, #0
	cbz	w20, LBB0_24
LBB0_2:
	cmp	w23, w20
	b.ge	LBB0_21
; %bb.3:
	mov	w24, #-2621440
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x19]
	cmp	w1, #1
	b.lt	LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w0, w20, w23
	bl	_FFMIN
	mov	w8, #0
	add	w23, w0, w23
	ldr	w9, [x19]
	sub	w9, w9, w0
	str	w9, [x19]
	cmp	w23, w20
	b.ge	LBB0_21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, w23, sxtw #2]
	orr	w8, w9, w8, lsl #8
	add	w9, w8, #1024, lsl #12          ; =4194304
	lsr	w9, w9, #16
	cmp	w9, #62
	b.hi	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w9, w8, #0xffff0000
	cmp	w9, w24
	b.eq	LBB0_22
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w9, w8, #608, lsl #12           ; =2490368
	add	w10, w24, #480, lsl #12         ; =1966080
	cmp	w9, w10
	b.hs	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	and	w9, w8, #0xffff
	sub	w1, w9, #1
	str	w1, [x19]
	cmp	w1, #1
	b.ge	LBB0_5
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w23, w23, #1
	cmp	w23, w20
	b.lt	LBB0_6
	b	LBB0_21
LBB0_11:
	cmp	w20, #1
	b.lt	LBB0_20
; %bb.12:
	mov	w22, #0
	mov	w23, #-2621440
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	w1, [x19]
	cmp	w1, #1
	b.lt	LBB0_19
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	sub	w0, w20, w22
	bl	_FFMIN
	mov	w8, #0
	add	w22, w0, w22
	ldr	w9, [x19]
	sub	w9, w9, w0
	str	w9, [x19]
	cmp	w22, w20
	b.ge	LBB0_20
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x21, w22, sxtw #2]
	orr	w8, w9, w8, lsl #8
	add	w9, w8, #1024, lsl #12          ; =4194304
	lsr	w9, w9, #16
	cmp	w9, #62
	b.hi	LBB0_13
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	and	w9, w8, #0xffff0000
	cmp	w9, w23
	b.eq	LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w9, w8, #608, lsl #12           ; =2490368
	add	w10, w23, #480, lsl #12         ; =1966080
	cmp	w9, w10
	b.hs	LBB0_13
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	and	w9, w8, #0xffff
	sub	w1, w9, #1
	str	w1, [x19]
	cmp	w1, #1
	b.ge	LBB0_14
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w22, w22, #1
	cmp	w22, w20
	b.lt	LBB0_15
LBB0_20:
	mov	w22, #0
LBB0_21:
	stp	w22, w8, [x19, #4]
Lloh0:
	adrp	x8, _END_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _END_NOT_FOUND@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_25
LBB0_22:
	stp	wzr, wzr, [x19, #4]
	sub	w0, w23, #3
	b	LBB0_25
LBB0_23:
	add	w23, w22, #1
	mov	w22, #1
	cbnz	w20, LBB0_2
LBB0_24:
	mov	w0, #0
LBB0_25:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_END_NOT_FOUND,4,2              ; @END_NOT_FOUND
	.no_dead_strip	_find_frame_end
.subsections_via_symbols
