	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_strptr                     ## -- Begin function elf_strptr
	.p2align	4, 0x90
_elf_strptr:                            ## @elf_strptr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_33
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_ELF_K_ELF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.2:
	movq	%rdx, %r14
	movq	%rbx, %rdi
	callq	_elf_getscn
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movq	%rax, %r15
	leaq	-56(%rbp), %rsi
	movq	%rax, %rdi
	callq	_gelf_getshdr
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	_SHT_STRTAB@GOTPCREL(%rip), %rax
	movq	-56(%rbp), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_33
## %bb.5:
	cmpq	%r14, -48(%rbp)
	jbe	LBB0_33
## %bb.6:
	movq	_ELF_F_LAYOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_18
## %bb.7:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_33
## %bb.8:
	movq	_ELF_T_BYTE@GOTPCREL(%rip), %r12
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_33
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	8(%rax), %rdx
	cmpq	(%r12), %rdx
	jne	LBB0_36
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	16(%rax), %rdx
	cmpq	%r14, %rdx
	ja	LBB0_9
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	addq	%rdx, %rcx
	cmpq	%r14, %rcx
	jbe	LBB0_9
## %bb.15:
	addq	%r14, %rbx
	subq	%rdx, %rbx
	jmp	LBB0_35
LBB0_17:
	xorl	%ebx, %ebx
	jmp	LBB0_35
LBB0_18:
	xorl	%ebx, %ebx
	movq	_ELF_T_BYTE@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_33
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%rax, %rbx
	cmpq	%r14, %r12
	jbe	LBB0_22
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_elf_getdata
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_33
LBB0_22:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 32(%rbx)
	je	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	cmpq	$0, (%rbx)
	je	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_36
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	24(%rbx), %rsi
	cmpq	$2, %rsi
	jb	LBB0_28
## %bb.26:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	-1(%rsi), %rax
	testq	%rax, %rsi
	jne	LBB0_36
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rdi
	callq	_roundup2
	jmp	LBB0_29
LBB0_28:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r12, %rax
LBB0_29:                                ##   in Loop: Header=BB0_19 Depth=1
	cmpq	%r14, %rax
	ja	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%rbx), %r12
	addq	%rax, %r12
	cmpq	%r14, %r12
	jbe	LBB0_19
## %bb.31:
	movq	32(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_36
## %bb.32:
	addq	%r14, %rbx
	subq	%rax, %rbx
	jmp	LBB0_35
LBB0_33:
	movq	_ARGUMENT@GOTPCREL(%rip), %rax
LBB0_34:
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_LIBELF_SET_ERROR
LBB0_35:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	movq	_DATA@GOTPCREL(%rip), %rax
	jmp	LBB0_34
	.cfi_endproc
                                        ## -- End function
	.comm	_ELF_K_ELF,8,3                  ## @ELF_K_ELF
	.comm	_ARGUMENT,4,2                   ## @ARGUMENT
	.comm	_SHT_STRTAB,8,3                 ## @SHT_STRTAB
	.comm	_ELF_F_LAYOUT,4,2               ## @ELF_F_LAYOUT
	.comm	_ELF_T_BYTE,8,3                 ## @ELF_T_BYTE
	.comm	_DATA,4,2                       ## @DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_elf_strptr                     ; -- Begin function elf_strptr
	.p2align	2
_elf_strptr:                            ; @elf_strptr
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ELF_K_ELF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ELF_K_ELF@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x19, x2
	mov	x0, x21
	bl	_elf_getscn
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
	mov	x1, sp
	bl	_gelf_getshdr
	cbz	x0, LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _SHT_STRTAB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHT_STRTAB@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldp	x9, x10, [sp]
	cmp	x9, x8
	ccmp	x10, x19, #0, eq
	b.hi	LBB0_8
LBB0_5:
Lloh6:
	adrp	x8, _ARGUMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ARGUMENT@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_LIBELF_SET_ERROR
	mov	x0, #0
LBB0_7:
	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_8:
	ldr	w8, [x21, #8]
Lloh8:
	adrp	x9, _ELF_F_LAYOUT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ELF_F_LAYOUT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.9:
	mov	x0, x20
	mov	x1, #0
	bl	_elf_getdata
	cbz	x0, LBB0_5
; %bb.10:
	mov	x1, x0
Lloh11:
	adrp	x21, _ELF_T_BYTE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _ELF_T_BYTE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	bl	_elf_getdata
	mov	x1, x0
	cbz	x0, LBB0_5
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x1, #32]
	cbz	x8, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x9, [x1]
	cbz	x9, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x10, [x1, #8]
	ldr	x11, [x21]
	cmp	x10, x11
	b.ne	LBB0_32
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x10, [x1, #16]
	add	x9, x10, x9
	cmp	x10, x19
	ccmp	x9, x19, #0, ls
	b.ls	LBB0_11
; %bb.16:
	add	x8, x8, x19
	sub	x0, x8, x10
	b	LBB0_7
LBB0_17:
	mov	x21, #0
	mov	x22, #0
Lloh13:
	adrp	x23, _ELF_T_BYTE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _ELF_T_BYTE@GOTPAGEOFF]
LBB0_18:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	mov	x0, x20
	mov	x1, x21
	bl	_elf_getdata
	cbz	x0, LBB0_5
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x21, x0
	cmp	x22, x19
	b.ls	LBB0_21
	b	LBB0_5
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	mov	x0, x20
	mov	x1, x21
	bl	_elf_getdata
	mov	x21, x0
	cbz	x0, LBB0_5
LBB0_21:                                ;   Parent Loop BB0_18 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	x8, [x21]
	cbz	x8, LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x21, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.24:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x1, [x21, #24]
	cmp	x1, #2
	b.lo	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	x8, x1, #1
	tst	x1, x8
	b.ne	LBB0_32
; %bb.26:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
	bl	_roundup2
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x22
LBB0_28:                                ;   in Loop: Header=BB0_18 Depth=1
	cmp	x0, x19
	b.hi	LBB0_5
; %bb.29:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x21]
	add	x22, x8, x0
	cmp	x22, x19
	b.ls	LBB0_18
; %bb.30:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_32
; %bb.31:
	add	x8, x8, x19
	sub	x0, x8, x0
	b	LBB0_7
LBB0_32:
Lloh15:
	adrp	x8, _DATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ELF_K_ELF,8,3                  ; @ELF_K_ELF
	.comm	_ARGUMENT,4,2                   ; @ARGUMENT
	.comm	_SHT_STRTAB,8,3                 ; @SHT_STRTAB
	.comm	_ELF_F_LAYOUT,4,2               ; @ELF_F_LAYOUT
	.comm	_ELF_T_BYTE,8,3                 ; @ELF_T_BYTE
	.comm	_DATA,4,2                       ; @DATA
.subsections_via_symbols
