	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_ngot_entries
_get_ngot_entries:                      ## @get_ngot_entries
	.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
	movq	8(%rdi), %rax
	movl	(%rax), %r12d
	movl	4(%rax), %esi
	subl	%esi, %r12d
	movslq	(%rdi), %rax
	xorl	%ebx, %ebx
	cmpl	%eax, %r12d
	jg	LBB0_12
## %bb.1:
	testl	%r12d, %r12d
	jle	LBB0_12
## %bb.2:
	movslq	%esi, %rcx
	leaq	4(%rcx), %rdx
	cmpq	%rax, %rdx
	ja	LBB0_10
## %bb.3:
	cmpq	%rcx, %rdx
	jb	LBB0_10
## %bb.4:
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	movl	$4, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r13), %edi
	leaq	-44(%rbp), %rdx
	movl	$4, %ecx
	callq	_r_buf_read_at
	cmpl	$4, %eax
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %edi
	callq	_VALID_GOT_ENTRY
	testl	%eax, %eax
	je	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r12d, %r15d
	jge	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %rax
	movslq	4(%rax), %rax
	movslq	(%r13), %rdx
	leal	(%r15,%rax), %ecx
	movslq	%ecx, %rcx
	addq	$4, %rcx
	cmpq	%rdx, %rcx
	ja	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	$4, %r14d
	leal	(%rax,%r14), %esi
	addl	$4, %r15d
	incl	%ebx
	cmpq	%rax, %rcx
	jae	LBB0_5
LBB0_10:
	xorl	%ebx, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	incl	%ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_ngot_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_ngot_entries
_get_ngot_entries:                      ; @get_ngot_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0, #8]
	ldp	w9, w1, [x8]
	ldrsw	x8, [x0]
	sub	w21, w9, w1
	cmp	w21, w8
	ccmp	w21, #1, #8, le
	b.lt	LBB0_2
; %bb.1:
	sxtw	x9, w1
	add	x10, x9, #4
	cmp	x10, x8
	ccmp	x10, x9, #0, ls
	b.hs	LBB0_4
LBB0_2:
	mov	w20, #0
LBB0_3:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	mov	x19, x0
	mov	w20, #0
	mov	w22, #0
	mov	w23, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #4]
	add	x2, sp, #12
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	w3, #4
	bl	_r_buf_read_at
	cmp	w0, #4
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #12]
	bl	_VALID_GOT_ENTRY
	cbz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, w21
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #4
	ldr	x8, [x19, #8]
	ldrsw	x8, [x8, #4]
	ldrsw	x9, [x19]
	add	w1, w8, w22
	add	w10, w23, w8
	sxtw	x10, w10
	add	x10, x10, #4
	add	w23, w23, #4
	add	w20, w20, #1
	cmp	x10, x9
	ccmp	x10, x8, #0, ls
	b.hs	LBB0_5
	b	LBB0_2
LBB0_9:
	add	w20, w20, #1
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_ngot_entries
.subsections_via_symbols
