	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function section_from_rva
_section_from_rva:                      ## @section_from_rva
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edx, %ebx
	movl	$0, -12(%rbp)
	leaq	-12(%rbp), %rdx
	callq	_get_section_header
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movl	-12(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_8
## %bb.2:
	movq	%rax, %rcx
	incq	%rdx
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	decq	%rdx
	cmpq	$1, %rdx
	jbe	LBB0_9
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	-2(%rdx), %esi
	movl	(%rcx,%rsi,8), %edi
	cmpl	%ebx, %edi
	jg	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	4(%rcx,%rsi,8), %edi
	cmpl	%ebx, %edi
	jl	LBB0_3
## %bb.6:
	leaq	(%rcx,%rsi,8), %rax
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_section_from_rva
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function section_from_rva
_section_from_rva:                      ; @section_from_rva
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	str	wzr, [sp, #12]
	add	x2, sp, #12
	bl	_get_section_header
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	add	x9, x8, #1
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x9, x9, #1
	cmp	x9, #1
	b.ls	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w10, w9, #2
	add	x8, x0, w10, uxtw #3
	ldr	w11, [x8]
	cmp	w11, w19
	b.gt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x0, x10, lsl #3
	ldr	w10, [x10, #4]
	add	w10, w10, w11
	cmp	w10, w19
	b.lt	LBB0_3
	b	LBB0_7
LBB0_6:
	mov	x8, #0
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_section_from_rva
.subsections_via_symbols
