	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	(%rdi), %ecx
	xorl	%r8d, %r8d
	cmpl	$0, 4(%rdi)
	je	LBB0_1
LBB0_5:
	movl	$0, 12(%rdi)
	movl	%r8d, %r9d
	subl	%edx, %r9d
	jge	LBB0_12
## %bb.6:
	movq	_DIRAC_PARSE_INFO_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movl	%r8d, %r10d
	movl	%edx, %eax
	leaq	(%rsi,%r10,4), %r14
	movq	%r10, %rsi
	subq	%rax, %rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%r11d, %ecx
	je	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	shll	$8, %ecx
	orl	(%r14,%rax,4), %ecx
	incq	%rax
	movq	%rsi, %rbx
	addq	%rax, %rbx
	jne	LBB0_7
	jmp	LBB0_12
LBB0_1:
	testl	%edx, %edx
	jle	LBB0_12
## %bb.2:
	movq	_DIRAC_PARSE_INFO_PREFIX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%edx, %ebx
	xorl	%r8d, %r8d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	shll	$8, %ecx
	orl	(%rsi,%r8,4), %ecx
	cmpl	%eax, %ecx
	je	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%r8
	cmpq	%r8, %rbx
	jne	LBB0_3
	jmp	LBB0_12
LBB0_8:
	subl	%r8d, %edx
	subl	%eax, %edx
	movl	8(%rdi), %ecx
	cmpl	%ecx, %edx
	jge	LBB0_9
## %bb.10:
	addl	%r9d, %eax
	addl	$9, %eax
	movl	%eax, 8(%rdi)
	movl	%r11d, %ecx
LBB0_12:
	movl	%ecx, (%rdi)
	movl	$-1, %eax
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movabsq	$38654705665, %rax              ## imm = 0x900000001
	movq	%rax, 4(%rdi)
	movl	$-1, %ecx
	jmp	LBB0_5
LBB0_9:
	movl	$-1, (%rdi)
	addl	%ecx, %r10d
	addl	%r10d, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_DIRAC_PARSE_INFO_PREFIX,4,2    ## @DIRAC_PARSE_INFO_PREFIX
	.no_dead_strip	_find_frame_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function find_frame_end
lCPI0_0:
	.long	1                               ; 0x1
	.long	9                               ; 0x9
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_find_frame_end:                        ; @find_frame_end
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	cbz	w9, LBB0_6
; %bb.1:
	mov	w9, #0
LBB0_2:
	str	wzr, [x0, #12]
	subs	w11, w9, w2
	b.ge	LBB0_12
; %bb.3:
	mov	x10, #0
Lloh0:
	adrp	x13, _DIRAC_PARSE_INFO_PREFIX@GOTPAGE
Lloh1:
	ldr	x13, [x13, _DIRAC_PARSE_INFO_PREFIX@GOTPAGEOFF]
	mov	w12, w9
Lloh2:
	ldr	w13, [x13]
	add	x14, x1, w9, uxtw #2
	sub	x15, x12, w2, uxtw
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w8, w13
	b.eq	LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w16, [x14, x10, lsl #2]
	orr	w8, w16, w8, lsl #8
	add	x10, x10, #1
	cmn	x15, x10
	b.ne	LBB0_4
	b	LBB0_12
LBB0_6:
	cmp	w2, #1
	b.lt	LBB0_12
; %bb.7:
	mov	x9, #0
Lloh3:
	adrp	x10, _DIRAC_PARSE_INFO_PREFIX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DIRAC_PARSE_INFO_PREFIX@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	mov	w11, w2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x1, x9, lsl #2]
	orr	w8, w12, w8, lsl #8
	cmp	w8, w10
	b.eq	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x9, x9, #1
	cmp	x11, x9
	b.ne	LBB0_8
	b	LBB0_12
LBB0_10:
	sub	w8, w2, w9
	sub	w9, w8, w10
	ldr	w8, [x0, #8]
	cmp	w9, w8
	b.ge	LBB0_14
; %bb.11:
	add	w8, w11, w10
	add	w8, w8, #9
	str	w8, [x0, #8]
	mov	x8, x13
LBB0_12:
	str	w8, [x0]
	mov	w0, #-1
	ret
LBB0_13:
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x0, #4]
	mov	w8, #-1
	b	LBB0_2
LBB0_14:
	mov	w9, #-1
	str	w9, [x0]
	add	w8, w12, w8
	add	w0, w8, w10
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DIRAC_PARSE_INFO_PREFIX,4,2    ; @DIRAC_PARSE_INFO_PREFIX
	.no_dead_strip	_find_frame_end
.subsections_via_symbols
