	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dex_get_proto
_dex_get_proto:                         ## @dex_get_proto
	.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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	cmpl	%esi, 16(%rdi)
	jle	LBB0_29
## %bb.1:
	movq	%rdi, %r13
	movq	40(%rdi), %rax
	movslq	%esi, %rcx
	shlq	$4, %rcx
	movq	(%rax,%rcx), %r15
	cmpq	(%rdi), %r15
	jae	LBB0_29
## %bb.2:
	movq	8(%rax,%rcx), %rax
	cmpq	24(%r13), %rax
	jae	LBB0_29
## %bb.3:
	movq	8(%r13), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	%r13, %rdi
	callq	_getstr
	testq	%rax, %rax
	je	LBB0_29
## %bb.4:
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_21
## %bb.5:
	movl	32(%r13), %edi
	leaq	-80(%rbp), %rdx
	movl	%r15d, %esi
	movl	$32, %ecx
	callq	_r_buf_read_at
	testl	%eax, %eax
	je	LBB0_29
## %bb.6:
	leaq	-80(%rbp), %rdi
	callq	_r_read_le32
	leaq	(,%rax,8), %rcx
	movq	(%r13), %rdx
	xorl	%ebx, %ebx
	cmpq	%rdx, %rcx
	jae	LBB0_30
## %bb.7:
	testq	%rax, %rax
	je	LBB0_30
## %bb.8:
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	addl	$4, %r15d
	movslq	%r15d, %rcx
	xorl	%esi, %esi
	cmpq	%rcx, %rdx
	jbe	LBB0_24
## %bb.9:
	movl	$1, %ecx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	leaq	-112(%rbp), %rbx
	xorl	%edx, %edx
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	32(%r13), %edi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	$32, %ecx
	callq	_r_buf_read_at
	testl	%eax, %eax
	je	LBB0_26
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_r_read_le16
	cmpq	24(%r13), %rax
	jae	LBB0_26
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	(%r13), %rax
	jae	LBB0_26
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%r13), %rcx
	movl	(%rcx,%rax,4), %esi
	movq	%r13, %rdi
	callq	_getstr
	testq	%rax, %rax
	je	LBB0_26
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %ebx
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	addl	%ebx, %esi
	incl	%esi
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %r14
	movslq	-144(%rbp), %rax                ## 4-byte Folded Reload
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	addq	%rax, %rdi
	movq	%r12, %rsi
	callq	_strcpy
	addl	-120(%rbp), %ebx                ## 4-byte Folded Reload
	movslq	%ebx, %rax
	movb	$0, (%r14,%rax)
	movq	-152(%rbp), %rax                ## 8-byte Reload
	decq	%rax
	je	LBB0_28
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	leal	2(%r15), %edx
	addl	$2, %r15d
	movslq	%r15d, %rcx
	movl	%edx, %r15d
	movq	%r14, %rdx
	movl	%ebx, %esi
	cmpq	%rcx, (%r13)
	leaq	-112(%rbp), %rbx
	ja	LBB0_10
	jmp	LBB0_27
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.22:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r_str_newf                     ## TAILCALL
LBB0_24:
	xorl	%r14d, %r14d
	jmp	LBB0_27
LBB0_25:
	leaq	L_.str.1(%rip), %rdi
	movq	-128(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_eprintf
LBB0_26:
	movq	-120(%rbp), %r14                ## 8-byte Reload
LBB0_27:
	testq	%r14, %r14
	je	LBB0_29
LBB0_28:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_r_str_newf
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_30
LBB0_29:
	xorl	%ebx, %ebx
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movq	%rbx, %rax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"()%s"

L_.str.1:                               ## @.str.1
	.asciz	"Cannot realloc to %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"(%s)%s"

	.no_dead_strip	_dex_get_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dex_get_proto
_dex_get_proto:                         ; @dex_get_proto
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	ldr	w8, [x0, #16]
	cmp	w8, w1
	b.le	LBB0_24
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #40]
	sbfiz	x9, x1, #4, #32
	ldr	x22, [x8, x9]
	ldr	x9, [x0]
	cmp	x22, x9
	b.hs	LBB0_24
; %bb.2:
	sxtw	x9, w1
	add	x8, x8, x9, lsl #4
	ldr	x8, [x8, #8]
	ldr	x9, [x20, #24]
	cmp	x8, x9
	b.hs	LBB0_24
; %bb.3:
	ldr	x9, [x20, #8]
	ldr	w1, [x9, x8, lsl #2]
	mov	x0, x20
	bl	_getstr
	cbz	x0, LBB0_24
; %bb.4:
	mov	x19, x0
	cbz	x22, LBB0_17
; %bb.5:
	ldr	w0, [x20, #32]
	add	x2, sp, #40
	mov	x1, x22
	mov	w3, #32
	bl	_r_buf_read_at
	cbz	w0, LBB0_24
; %bb.6:
	add	x0, sp, #40
	bl	_r_read_le32
	mov	x23, #0
	ldr	x8, [x20]
	cmp	x8, x0, lsl #3
	b.ls	LBB0_25
; %bb.7:
	mov	x21, x0
	cbz	x0, LBB0_25
; %bb.8:
	add	w22, w22, #4
	cmp	x8, w22, sxtw
	b.ls	LBB0_19
; %bb.9:
	mov	x24, #0
	mov	w28, #0
	mov	w23, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #32]
	add	x2, sp, #8
	mov	x1, x22
	mov	w3, #32
	bl	_r_buf_read_at
	cbz	w0, LBB0_21
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #8
	bl	_r_read_le16
	ldr	x8, [x20, #24]
	cmp	x0, x8
	b.hs	LBB0_21
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20]
	cmp	x0, x8
	b.hs	LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x20, #8]
	ldr	w1, [x8, x0, lsl #2]
	mov	x0, x20
	bl	_getstr
	cbz	x0, LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x26, x0
	bl	_strlen
	mov	x27, x0
	add	w8, w23, w0
	add	w23, w8, #1
	mov	x0, x24
	mov	x1, x23
	bl	_realloc
	cbz	x0, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x25, x0
	sxtw	x24, w28
	add	x0, x0, x24
	mov	x1, x26
	bl	_strcpy
	add	x28, x24, w27, sxtw
	strb	wzr, [x25, x28]
	subs	x21, x21, #1
	b.eq	LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w22, w22, #2
	ldr	x8, [x20]
	cmp	x8, w22, sxtw
	mov	x24, x25
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	b.hi	LBB0_10
	b	LBB0_22
LBB0_17:
	ldr	x8, [sp, #72]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.18:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_r_str_newf
LBB0_19:
	mov	x25, #0
	b	LBB0_22
LBB0_20:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x23
	bl	_eprintf
LBB0_21:
	mov	x25, x24
LBB0_22:
	cbz	x25, LBB0_24
LBB0_23:
	str	x19, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x25
	bl	_r_str_newf
	mov	x23, x0
	mov	x0, x25
	bl	_free
	b	LBB0_25
LBB0_24:
	mov	x23, #0
LBB0_25:
	ldr	x8, [sp, #72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.26:
	mov	x0, x23
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"()%s"

l_.str.1:                               ; @.str.1
	.asciz	"Cannot realloc to %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"(%s)%s"

	.no_dead_strip	_dex_get_proto
.subsections_via_symbols
