	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_ver
_search_ver:                            ## @search_ver
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	48(%r14), %rcx
	movq	_SHT_SUNW_versym@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_SHT_SUNW_verneed@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	_SHT_SUNW_verdef@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rcx
	decq	%rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rbx
	cmpq	%rdx, %rbx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rsi, %rbx
	je	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rbx
	jne	LBB0_8
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 16(%r14)
	cmpq	%rsi, %rbx
	jne	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 32(%r14)
	cmpq	%rdi, %rbx
	jne	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 40(%r14)
	jmp	LBB0_8
LBB0_9:
	cmpq	$0, 40(%r14)
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dump_verdef
LBB0_11:
	cmpq	$0, 32(%r14)
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_dump_verneed
LBB0_13:
	cmpq	$0, 16(%r14)
	je	LBB0_20
## %bb.14:
	cmpq	$0, 24(%r14)
	je	LBB0_20
## %bb.15:
	xorl	%eax, %eax
	callq	_elf_errno
	movq	16(%r14), %rax
	movl	8(%rax), %edi
	xorl	%esi, %esi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_16
## %bb.18:
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_20
## %bb.19:
	movl	4(%rax), %eax
	movl	%eax, 12(%r14)
	sarl	$2, %ecx
	movl	%ecx, 8(%r14)
	jmp	LBB0_20
LBB0_16:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_20
## %bb.17:
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_20:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SHT_SUNW_versym,8,3            ## @SHT_SUNW_versym
	.comm	_SHT_SUNW_verneed,8,3           ## @SHT_SUNW_verneed
	.comm	_SHT_SUNW_verdef,8,3            ## @SHT_SUNW_verdef
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"elf_getdata failed: %s"

	.no_dead_strip	_search_ver
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_ver
_search_ver:                            ; @search_ver
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_9
; %bb.1:
	ldr	x9, [x19, #48]
Lloh0:
	adrp	x10, _SHT_SUNW_versym@GOTPAGE
Lloh1:
	ldr	x10, [x10, _SHT_SUNW_versym@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _SHT_SUNW_verneed@GOTPAGE
Lloh4:
	ldr	x11, [x11, _SHT_SUNW_verneed@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _SHT_SUNW_verdef@GOTPAGE
Lloh7:
	ldr	x12, [x12, _SHT_SUNW_verdef@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x9]
	cmp	x13, x10
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x13, x11
	b.eq	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x13, x12
	b.ne	LBB0_2
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [x19, #16]
	cmp	x13, x11
	b.ne	LBB0_5
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [x19, #32]
	cmp	x13, x12
	b.ne	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x9, [x19, #40]
	b	LBB0_2
LBB0_9:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	w1, #0
	bl	_dump_verdef
LBB0_11:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	w1, #0
	bl	_dump_verneed
LBB0_13:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_20
; %bb.14:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_20
; %bb.15:
	bl	_elf_errno
	ldr	x8, [x19, #16]
	ldr	w0, [x8, #8]
	mov	x1, #0
	bl	_elf_getdata
	cbz	x0, LBB0_18
; %bb.16:
	ldr	w8, [x0]
	cbz	w8, LBB0_20
; %bb.17:
	ldr	w9, [x0, #4]
	asr	w8, w8, #2
	stp	w8, w9, [x19, #8]
	b	LBB0_20
LBB0_18:
	bl	_elf_errno
	cbz	w0, LBB0_20
; %bb.19:
	bl	_elf_errmsg
	mov	x1, x0
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_warnx
LBB0_20:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SHT_SUNW_versym,8,3            ; @SHT_SUNW_versym
	.comm	_SHT_SUNW_verneed,8,3           ; @SHT_SUNW_verneed
	.comm	_SHT_SUNW_verdef,8,3            ; @SHT_SUNW_verdef
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"elf_getdata failed: %s"

	.no_dead_strip	_search_ver
.subsections_via_symbols
