	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtld_verify_object_versions
_rtld_verify_object_versions:           ## @rtld_verify_object_versions
	.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
	xorl	%eax, %eax
	cmpl	$0, (%rdi)
	jne	LBB0_35
## %bb.1:
	movq	%rdi, %r12
	movl	$1, (%rdi)
	movq	24(%rdi), %r13
	xorl	%r14d, %r14d
	testq	%r13, %r13
	je	LBB0_11
## %bb.2:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r13), %rdx
	movq	_VER_NEED_CURRENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	8(%r13), %rbx
	movl	(%r13,%rbx), %edi
	callq	_VER_NEED_IDX
	cmpl	%r14d, %eax
	cmovgl	%eax, %r14d
	movq	8(%r13,%rbx), %r15
	testq	%r15, %r15
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r13, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leaq	(%rbx,%r15), %r12
	movl	(%rbx,%r15), %edi
	callq	_VER_NEED_IDX
	cmpl	%r14d, %eax
	cmovgl	%eax, %r14d
	movq	8(%rbx,%r15), %r15
	movq	%r12, %rbx
	testq	%r15, %r15
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r13, %rax
	testq	%r13, %r13
	movq	%rax, %r13
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_3
	jmp	LBB0_11
LBB0_9:
	movl	40(%r12), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_33
LBB0_10:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_11:
	movq	32(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.12:
	movq	_VER_DEF_CURRENT@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdx
	cmpq	(%r15), %rdx
	jne	LBB0_32
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	28(%rbx), %edi
	callq	_VER_DEF_IDX
	cmpl	%r14d, %eax
	cmovgl	%eax, %r14d
	movq	8(%rbx), %rax
	addq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_13
LBB0_15:
	xorl	%eax, %eax
	testl	%r14d, %r14d
	je	LBB0_35
## %bb.16:
	leal	1(%r14), %edi
	movl	%edi, 4(%r12)
	movl	$4, %esi
	callq	_xcalloc
	movq	%rax, 8(%r12)
	movq	32(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.17:
	movq	_VER_FLG_BASE@GOTPCREL(%rip), %r13
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%rbx), %rax
	addq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_21
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, 16(%rbx)
	jne	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	28(%rbx), %edi
	callq	_VER_DEF_IDX
	movl	%eax, %r15d
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	setle	%dil
	callq	_assert
	movslq	20(%rbx), %rax
	movl	24(%rbx), %ecx
	movq	8(%r12), %rdx
	movslq	%r15d, %rsi
	shlq	$5, %rsi
	movl	%ecx, 24(%rdx,%rsi)
	movslq	(%rbx,%rax), %rax
	shlq	$2, %rax
	addq	16(%r12), %rax
	movq	%rax, 16(%rdx,%rsi)
	movq	$0, 8(%rdx,%rsi)
	movl	$0, (%rdx,%rsi)
	jmp	LBB0_18
LBB0_21:
	movq	24(%r12), %r13
	testq	%r13, %r13
	je	LBB0_31
## %bb.22:
	movq	16(%r12), %rax
LBB0_23:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	movslq	24(%r13), %rcx
	leaq	(%rax,%rcx,4), %rsi
	movq	%r12, %rdi
	callq	_locate_dependency
	testq	%rax, %rax
	je	LBB0_34
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%rax, %r15
	movslq	8(%r13), %rbx
	addq	%r13, %rbx
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_check_object_provided_version
	testq	%rax, %rax
	jne	LBB0_34
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_23 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edi
	callq	_VER_NEED_IDX
	movq	%r13, %r15
	movl	%eax, %r13d
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	setle	%dil
	callq	_assert
	movl	20(%rbx), %eax
	movq	8(%r12), %rcx
	movslq	%r13d, %rdx
	movq	%r15, %r13
	shlq	$5, %rdx
	movl	%eax, 24(%rcx,%rdx)
	movq	16(%r12), %rax
	movslq	16(%rbx), %rsi
	leaq	(%rax,%rsi,4), %rsi
	movq	%rsi, 16(%rcx,%rdx)
	movslq	24(%r15), %rsi
	leaq	(%rax,%rsi,4), %rsi
	movq	%rsi, 8(%rcx,%rdx)
	movq	_VER_NEED_HIDDEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	(%rbx), %esi
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movq	_VER_INFO_HIDDEN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_28:                                ##   in Loop: Header=BB0_26 Depth=2
	movl	%esi, (%rcx,%rdx)
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=2
	addq	%rcx, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_check_object_provided_version
	testq	%rax, %rax
	je	LBB0_26
	jmp	LBB0_34
LBB0_30:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	16(%r13), %rcx
	addq	%rcx, %r13
	testq	%rcx, %rcx
	jne	LBB0_23
LBB0_31:
	xorl	%eax, %eax
	jmp	LBB0_35
LBB0_32:
	movl	40(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
LBB0_33:
	callq	__rtld_error
LBB0_34:
	movl	$-1, %eax
LBB0_35:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VER_NEED_CURRENT,8,3           ## @VER_NEED_CURRENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Unsupported version %d of Elf_Verneed entry"

	.comm	_VER_DEF_CURRENT,8,3            ## @VER_DEF_CURRENT
L_.str.1:                               ## @.str.1
	.asciz	"%s: Unsupported version %d of Elf_Verdef entry"

	.comm	_VER_FLG_BASE,4,2               ## @VER_FLG_BASE
	.comm	_VER_NEED_HIDDEN,4,2            ## @VER_NEED_HIDDEN
	.comm	_VER_INFO_HIDDEN,4,2            ## @VER_INFO_HIDDEN
	.no_dead_strip	_rtld_verify_object_versions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtld_verify_object_versions
_rtld_verify_object_versions:           ; @rtld_verify_object_versions
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_31
LBB0_2:
	mov	x19, x0
	mov	w8, #1
	str	w8, [x0]
	ldr	x20, [x0, #24]
	cbz	x20, LBB0_9
; %bb.3:
	mov	w23, #0
Lloh0:
	adrp	x21, _VER_NEED_CURRENT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VER_NEED_CURRENT@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #16]
	cmp	x8, #0
	ccmp	x20, #0, #4, ne
	add	x20, x20, x8
	b.eq	LBB0_10
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x2, [x20]
	ldr	x8, [x21]
	cmp	x2, x8
	b.ne	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrsw	x8, [x20, #8]
	add	x22, x20, x8
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x22]
	bl	_VER_NEED_IDX
	cmp	w0, w23
	csel	w23, w0, w23, gt
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x22, x22, x8
	b	LBB0_7
LBB0_9:
	mov	w23, #0
LBB0_10:
	ldr	x20, [x19, #32]
	cbz	x20, LBB0_14
; %bb.11:
Lloh2:
	adrp	x21, _VER_DEF_CURRENT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _VER_DEF_CURRENT@GOTPAGEOFF]
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x20]
	ldr	x8, [x21]
	cmp	x2, x8
	b.ne	LBB0_28
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x20, #28]
	bl	_VER_DEF_IDX
	cmp	w0, w23
	csel	w23, w0, w23, gt
	ldr	x8, [x20, #8]
	add	x20, x20, x8
	cbnz	x8, LBB0_12
LBB0_14:
	cbz	w23, LBB0_1
; %bb.15:
	add	w0, w23, #1
	str	w0, [x19, #4]
	mov	w1, #4
	bl	_xcalloc
	str	x0, [x19, #8]
	ldr	x21, [x19, #32]
	cbz	x21, LBB0_21
; %bb.16:
Lloh4:
	adrp	x22, _VER_FLG_BASE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _VER_FLG_BASE@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x21, #8]
	add	x21, x21, x8
	cbz	x8, LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21, #16]
	ldr	w9, [x22]
	tst	w9, w8
	b.ne	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	w0, [x21, #28]
	bl	_VER_DEF_IDX
	mov	x20, x0
	cmp	w0, w23
	cset	w0, le
	bl	_assert
	ldp	w8, w9, [x21, #20]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	sxtw	x10, w20
	ldp	x11, x12, [x19, #8]
	add	x10, x11, x10, lsl #5
	str	w9, [x10, #24]
	ldrsw	x8, [x21, x8]
	add	x8, x12, x8, lsl #2
	stp	xzr, x8, [x10, #8]
	str	wzr, [x10]
	b	LBB0_17
LBB0_20:
	ldr	w1, [x19, #40]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_29
LBB0_21:
	ldr	x24, [x19, #24]
	cbz	x24, LBB0_1
; %bb.22:
	ldr	x8, [x19, #16]
Lloh8:
	adrp	x25, _VER_NEED_HIDDEN@GOTPAGE
Lloh9:
	ldr	x25, [x25, _VER_NEED_HIDDEN@GOTPAGEOFF]
Lloh10:
	adrp	x26, _VER_INFO_HIDDEN@GOTPAGE
Lloh11:
	ldr	x26, [x26, _VER_INFO_HIDDEN@GOTPAGEOFF]
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
	ldrsw	x9, [x24, #24]
	add	x1, x8, x9, lsl #2
	mov	x0, x19
	bl	_locate_dependency
	cbz	x0, LBB0_30
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	mov	x20, x0
	ldrsw	x8, [x24, #8]
	add	x21, x24, x8
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_check_object_provided_version
	cbnz	x0, LBB0_30
LBB0_25:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21]
	bl	_VER_NEED_IDX
	mov	x22, x0
	cmp	w0, w23
	cset	w0, le
	bl	_assert
	sxtw	x9, w22
	ldp	x10, x8, [x19, #8]
	add	x9, x10, x9, lsl #5
	ldp	w11, w10, [x21, #16]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	str	w10, [x9, #24]
	add	x10, x8, x11, lsl #2
	ldrsw	x11, [x24, #24]
	add	x11, x8, x11, lsl #2
	stp	x11, x10, [x9, #8]
	ldr	w10, [x21]
	ldr	w11, [x25]
	ldr	w12, [x26]
	tst	w11, w10
	csel	w10, wzr, w12, eq
	str	w10, [x9]
	ldr	x9, [x21, #8]
	cbz	x9, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	add	x21, x21, x9
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_check_object_provided_version
	cbz	x0, LBB0_25
	b	LBB0_30
LBB0_27:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	w0, #0
	ldr	x9, [x24, #16]
	add	x24, x24, x9
	cbnz	x9, LBB0_23
	b	LBB0_31
LBB0_28:
	ldr	w1, [x19, #40]
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_29:
	bl	__rtld_error
	mov	w0, #-1
	b	LBB0_31
LBB0_30:
	mov	w0, #-1
LBB0_31:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_VER_NEED_CURRENT,8,3           ; @VER_NEED_CURRENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Unsupported version %d of Elf_Verneed entry"

	.comm	_VER_DEF_CURRENT,8,3            ; @VER_DEF_CURRENT
l_.str.1:                               ; @.str.1
	.asciz	"%s: Unsupported version %d of Elf_Verdef entry"

	.comm	_VER_FLG_BASE,4,2               ; @VER_FLG_BASE
	.comm	_VER_NEED_HIDDEN,4,2            ; @VER_NEED_HIDDEN
	.comm	_VER_INFO_HIDDEN,4,2            ; @VER_INFO_HIDDEN
	.no_dead_strip	_rtld_verify_object_versions
.subsections_via_symbols
