	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function create_symtab_entry
_create_symtab_entry:                   ## @create_symtab_entry
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_elf_memory
	testq	%rax, %rax
	je	LBB0_44
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_elf_kind
	movq	_ELF_K_ELF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_45
## %bb.2:
	leaq	-120(%rbp), %rsi
	movq	%r15, %rdi
	callq	_elf_getshstrndx
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_elf_nextscn
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_4
## %bb.6:
	movq	%rax, %r14
	leaq	-104(%rbp), %r15
	leaq	L_.str.2(%rip), %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_bsdar_warnc
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_elf_nextscn
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_gelf_getshdr
	movq	%rbx, %r13
	cmpq	%r15, %rax
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-120(%rbp), %esi
	movl	-84(%rbp), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_elf_strptr
	leaq	L_.str.3(%rip), %r13
	testq	%rax, %rax
	je	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.13:
	movq	%r14, %rdi
	callq	_elf_ndxscn
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_14
LBB0_44:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bsdar_warnc                    ## TAILCALL
LBB0_45:
	movq	%r15, %rdi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elf_end                        ## TAILCALL
LBB0_5:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	jmp	LBB0_25
LBB0_10:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_14:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_15
LBB0_4:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_15:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str.5(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_bsdar_warnc
LBB0_17:
	cmpl	$-1, -44(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_46
## %bb.18:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_elf_nextscn
	testq	%rax, %rax
	je	LBB0_23
## %bb.19:
	movq	%rax, %rbx
	leaq	-80(%rbp), %r13
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	xorl	%edx, %edx
	leaq	L_.str.2(%rip), %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_bsdar_warnc
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=1
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_elf_nextscn
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_23
LBB0_20:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
                                        ##       Child Loop BB0_34 Depth 3
	movq	%rbx, %rdi
	leaq	-104(%rbp), %r14
	movq	%r14, %rsi
	callq	_gelf_getshdr
	cmpq	%r14, %rax
	jne	LBB0_21
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=1
	movq	-104(%rbp), %rax
	movq	_SHT_SYMTAB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.28:                              ##   in Loop: Header=BB0_20 Depth=1
	cmpq	$0, -96(%rbp)
	je	LBB0_22
## %bb.29:                              ##   in Loop: Header=BB0_20 Depth=1
	xorl	%r15d, %r15d
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_31 Depth=2
	cmpq	$0, -96(%rbp)
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_22
LBB0_31:                                ##   Parent Loop BB0_20 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_34 Depth 3
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_22
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	movq	%rax, %r15
	movl	(%rax), %eax
	cltd
	idivl	-88(%rbp)
	testl	%eax, %eax
	jle	LBB0_30
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=2
	movl	%eax, %r12d
	xorl	%r14d, %r14d
	jmp	LBB0_34
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=3
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_add_to_ar_sym_table
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_34 Depth=3
	incl	%r14d
	cmpl	%r14d, %r12d
	je	LBB0_30
LBB0_34:                                ##   Parent Loop BB0_20 Depth=1
                                        ##     Parent Loop BB0_31 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_gelf_getsym
	cmpq	%r13, %rax
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=3
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	leaq	L_.str.7(%rip), %rcx
LBB0_36:                                ##   in Loop: Header=BB0_34 Depth=3
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_bsdar_warnc
	jmp	LBB0_43
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=3
	movl	-68(%rbp), %edi
	callq	_GELF_ST_BIND
	movq	_STB_GLOBAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=3
	movl	-68(%rbp), %edi
	callq	_GELF_ST_BIND
	movq	_STB_WEAK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_43
LBB0_39:                                ##   in Loop: Header=BB0_34 Depth=3
	movq	-80(%rbp), %rax
	movq	_SHN_UNDEF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_43
## %bb.40:                              ##   in Loop: Header=BB0_34 Depth=3
	movl	-72(%rbp), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_elf_strptr
	testq	%rax, %rax
	jne	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_34 Depth=3
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$-1, %edi
	callq	_elf_errmsg
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	leaq	L_.str.3(%rip), %rcx
	jmp	LBB0_36
LBB0_23:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_26
## %bb.24:
	movq	_EX_SOFTWARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str.5(%rip), %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_25:
	movl	%r14d, %esi
	xorl	%edx, %edx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_bsdar_warnc
	jmp	LBB0_26
LBB0_46:
	leaq	L_.str.6(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_bsdar_warnc
LBB0_26:
	movq	%r15, %rdi
	callq	_elf_end
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"elf_memory() failed: %s"

	.comm	_ELF_K_ELF,8,3                  ## @ELF_K_ELF
	.comm	_EX_SOFTWARE,4,2                ## @EX_SOFTWARE
L_.str.1:                               ## @.str.1
	.asciz	"elf_getshstrndx failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"elf_getshdr failed: %s"

L_.str.3:                               ## @.str.3
	.asciz	"elf_strptr failed: %s"

L_.str.4:                               ## @.str.4
	.asciz	".strtab"

L_.str.5:                               ## @.str.5
	.asciz	"elf_nextscn failed: %s"

L_.str.6:                               ## @.str.6
	.asciz	"can't find .strtab section"

	.comm	_SHT_SYMTAB,8,3                 ## @SHT_SYMTAB
L_.str.7:                               ## @.str.7
	.asciz	"gelf_getsym failed: %s"

	.comm	_STB_GLOBAL,8,3                 ## @STB_GLOBAL
	.comm	_STB_WEAK,8,3                   ## @STB_WEAK
	.comm	_SHN_UNDEF,8,3                  ## @SHN_UNDEF
	.no_dead_strip	_create_symtab_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function create_symtab_entry
_create_symtab_entry:                   ; @create_symtab_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	mov	x0, x1
	mov	x1, x2
	bl	_elf_memory
	cbz	x0, LBB0_12
; %bb.1:
	mov	x26, x0
	bl	_elf_kind
Lloh0:
	adrp	x8, _ELF_K_ELF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELF_K_ELF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.2:
	add	x1, sp, #32
	mov	x0, x26
	bl	_elf_getshstrndx
	cbz	x0, LBB0_41
; %bb.3:
	mov	x0, x26
	mov	x1, #0
	bl	_elf_nextscn
	cbz	x0, LBB0_14
; %bb.4:
	mov	x21, x0
	add	x19, sp, #56
Lloh3:
	adrp	x24, l_.str.2@PAGE
Lloh4:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh5:
	adrp	x25, l_.str.3@PAGE
Lloh6:
	add	x25, x25, l_.str.3@PAGEOFF
Lloh7:
	adrp	x22, l_.str.4@PAGE
Lloh8:
	add	x22, x22, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x23, x25
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x20
	mov	w1, #0
	mov	x2, x23
	bl	_bsdar_warnc
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x26
	mov	x1, x21
	bl	_elf_nextscn
	mov	x21, x0
	cbz	x0, LBB0_14
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #56
	mov	x0, x21
	bl	_gelf_getshdr
	mov	x23, x24
	cmp	x0, x19
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [sp, #32]
	ldr	w2, [sp, #76]
	mov	x0, x26
	bl	_elf_strptr
	cbz	x0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x22
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.11:
	mov	x0, x21
	bl	_elf_ndxscn
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
	b	LBB0_15
LBB0_12:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_bsdar_warnc
	b	LBB0_46
LBB0_13:
	mov	x0, x26
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_elf_end
LBB0_14:
	mov	w8, #-1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
LBB0_15:
	bl	_elf_errno
	cbz	w0, LBB0_17
; %bb.16:
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh11:
	adrp	x2, l_.str.5@PAGE
Lloh12:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w1, #0
	bl	_bsdar_warnc
LBB0_17:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmn	w8, #1
	b.eq	LBB0_43
; %bb.18:
	mov	x0, x26
	mov	x1, #0
	bl	_elf_nextscn
	cbz	x0, LBB0_39
; %bb.19:
	mov	x24, x0
	add	x28, sp, #40
Lloh13:
	adrp	x27, _STB_GLOBAL@GOTPAGE
Lloh14:
	ldr	x27, [x27, _STB_GLOBAL@GOTPAGEOFF]
Lloh15:
	adrp	x19, _EX_SOFTWARE@GOTPAGE
Lloh16:
	ldr	x19, [x19, _EX_SOFTWARE@GOTPAGEOFF]
Lloh17:
	adrp	x21, l_.str.7@PAGE
Lloh18:
	add	x21, x21, l_.str.7@PAGEOFF
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w23, [x19]
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
Lloh19:
	adrp	x8, l_.str.2@PAGE
Lloh20:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x8, x0, [sp]
	mov	x0, x20
	mov	x1, x23
	mov	x2, #0
	bl	_bsdar_warnc
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	mov	x26, x22
	mov	x0, x22
	mov	x1, x24
	bl	_elf_nextscn
	mov	x24, x0
	cbz	x0, LBB0_39
LBB0_22:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_31 Depth 3
	mov	x22, x26
	add	x1, sp, #56
	mov	x0, x24
	bl	_gelf_getshdr
	add	x8, sp, #56
	cmp	x0, x8
	b.ne	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
Lloh21:
	adrp	x8, _SHT_SYMTAB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SHT_SYMTAB@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldp	x9, x10, [sp, #56]
	cmp	x9, x8
	ccmp	x10, #0, #4, eq
	b.eq	LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	mov	x23, #0
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	ldr	x8, [sp, #64]
	ldr	x24, [sp, #16]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_21
LBB0_26:                                ;   Parent Loop BB0_22 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_31 Depth 3
	mov	x0, x24
	mov	x1, x23
	bl	_elf_getdata
	cbz	x0, LBB0_21
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	x23, x0
	ldr	w8, [x0]
	ldr	w9, [sp, #72]
	sdiv	w26, w8, w9
	cmp	w26, #1
	b.lt	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=2
	mov	w24, #0
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=3
	mov	x1, x0
	mov	x0, x20
	bl	_add_to_ar_sym_table
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=3
	add	w24, w24, #1
	cmp	w26, w24
	b.eq	LBB0_25
LBB0_31:                                ;   Parent Loop BB0_22 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x2, sp, #40
	mov	x0, x23
	mov	x1, x24
	bl	_gelf_getsym
	cmp	x0, x28
	b.eq	LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=3
	ldr	w25, [x19]
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
LBB0_33:                                ;   in Loop: Header=BB0_31 Depth=3
	mov	x0, x20
	mov	x1, x25
	mov	x2, #0
	bl	_bsdar_warnc
	b	LBB0_30
LBB0_34:                                ;   in Loop: Header=BB0_31 Depth=3
	ldr	w0, [sp, #52]
	bl	_GELF_ST_BIND
	ldr	x8, [x27]
	cmp	x0, x8
	b.eq	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_31 Depth=3
	ldr	w0, [sp, #52]
	bl	_GELF_ST_BIND
Lloh24:
	adrp	x8, _STB_WEAK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _STB_WEAK@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_30
LBB0_36:                                ;   in Loop: Header=BB0_31 Depth=3
	ldr	x8, [sp, #40]
Lloh27:
	adrp	x9, _SHN_UNDEF@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SHN_UNDEF@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_30
; %bb.37:                               ;   in Loop: Header=BB0_31 Depth=3
	ldr	w2, [sp, #48]
	mov	x0, x22
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	bl	_elf_strptr
	cbnz	x0, LBB0_29
; %bb.38:                               ;   in Loop: Header=BB0_31 Depth=3
	ldr	w25, [x19]
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
Lloh30:
	adrp	x8, l_.str.3@PAGE
Lloh31:
	add	x8, x8, l_.str.3@PAGEOFF
	stp	x8, x0, [sp]
	b	LBB0_33
LBB0_39:
	bl	_elf_errno
	cbz	w0, LBB0_45
; %bb.40:
Lloh32:
	adrp	x19, l_.str.5@PAGE
Lloh33:
	add	x19, x19, l_.str.5@PAGEOFF
Lloh34:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh36:
	ldr	w21, [x8]
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x19, x0, [sp]
	b	LBB0_42
LBB0_41:
Lloh37:
	adrp	x8, _EX_SOFTWARE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EX_SOFTWARE@GOTPAGEOFF]
Lloh39:
	ldr	w21, [x8]
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
Lloh40:
	adrp	x8, l_.str.1@PAGE
Lloh41:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x8, x0, [sp]
LBB0_42:
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	b	LBB0_44
LBB0_43:
Lloh42:
	adrp	x2, l_.str.6@PAGE
Lloh43:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	w1, #0
LBB0_44:
	bl	_bsdar_warnc
LBB0_45:
	mov	x0, x26
	bl	_elf_end
LBB0_46:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"elf_memory() failed: %s"

	.comm	_ELF_K_ELF,8,3                  ; @ELF_K_ELF
	.comm	_EX_SOFTWARE,4,2                ; @EX_SOFTWARE
l_.str.1:                               ; @.str.1
	.asciz	"elf_getshstrndx failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"elf_getshdr failed: %s"

l_.str.3:                               ; @.str.3
	.asciz	"elf_strptr failed: %s"

l_.str.4:                               ; @.str.4
	.asciz	".strtab"

l_.str.5:                               ; @.str.5
	.asciz	"elf_nextscn failed: %s"

l_.str.6:                               ; @.str.6
	.asciz	"can't find .strtab section"

	.comm	_SHT_SYMTAB,8,3                 ; @SHT_SYMTAB
l_.str.7:                               ; @.str.7
	.asciz	"gelf_getsym failed: %s"

	.comm	_STB_GLOBAL,8,3                 ; @STB_GLOBAL
	.comm	_STB_WEAK,8,3                   ; @STB_WEAK
	.comm	_SHN_UNDEF,8,3                  ; @SHN_UNDEF
	.no_dead_strip	_create_symtab_entry
.subsections_via_symbols
