	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_bin_te_vaddr_to_paddr
_r_bin_te_vaddr_to_paddr:               ## @r_bin_te_vaddr_to_paddr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	jle	LBB0_6
## %bb.1:
	movq	%rsi, %rax
	movq	(%rdi), %rcx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,2), %r8
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rdx
	cmpq	%rdx, %r8
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx), %rdi
	cmpq	%rax, %rdi
	jg	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%rcx,%rdx), %rsi
	addq	%rdi, %rsi
	cmpq	%rax, %rsi
	jle	LBB0_5
## %bb.4:
	subq	%rdi, %rax
	addq	16(%rcx,%rdx), %rax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_r_bin_te_vaddr_to_paddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_bin_te_vaddr_to_paddr
_r_bin_te_vaddr_to_paddr:               ; @r_bin_te_vaddr_to_paddr
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	ldr	x9, [x0]
	add	x9, x9, #16
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #24
	subs	x8, x8, #1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x10, [x9, #-16]
	cmp	x10, x1
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldursw	x11, [x9, #-8]
	add	x11, x10, x11
	cmp	x11, x1
	b.le	LBB0_2
; %bb.5:
	ldr	x8, [x9]
	sub	x9, x1, x10
	add	x0, x9, x8
	ret
LBB0_6:
	mov	x0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r_bin_te_vaddr_to_paddr
.subsections_via_symbols
