	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_perm_get_i                  ## -- Begin function dl_perm_get_i
	.p2align	4, 0x90
_dl_perm_get_i:                         ## @dl_perm_get_i
	.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	$-1, %eax
	testl	%esi, %esi
	js	LBB0_11
## %bb.1:
	movl	%esi, %r14d
	cmpl	%esi, (%rdi)
	jle	LBB0_11
## %bb.2:
	movq	8(%rdi), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rbx
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	callq	_LEN
	movl	%r14d, %ecx
	subl	%eax, %ecx
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	(%rbx), %edx
	movl	4(%rbx), %eax
	subl	%eax, %edx
	movl	%ecx, %r14d
	subl	%edx, %r14d
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$8, %rbx
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_10:
	xorl	%edi, %edi
	callq	_assert
                                        ## implicit-def: $eax
	jmp	LBB0_11
LBB0_7:
	addl	%ecx, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_perm_get_i                  ; -- Begin function dl_perm_get_i
	.p2align	2
_dl_perm_get_i:                         ; @dl_perm_get_i
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	tbnz	w1, #31, LBB0_8
; %bb.1:
	mov	x19, x1
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_8
; %bb.2:
	ldr	x20, [x0, #8]
	cbnz	x20, LBB0_5
LBB0_3:
	mov	w0, #0
	bl	_assert
                                        ; implicit-def: $w0
	b	LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x20, [x21]
	cbz	x20, LBB0_3
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x20
	ldr	x0, [x21, #16]!
	bl	_LEN
	subs	w8, w19, w0
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w10, w9, [x20]
	sub	w10, w10, w9
	subs	w19, w8, w10
	b.lt	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x20, #8
	b	LBB0_4
LBB0_8:
	mov	w0, #-1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	add	w0, w9, w8
	b	LBB0_9
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
