	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_symbol
_read_symbol:                           ## @read_symbol
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	movq	_this_symtab_psymtab@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	8(%rcx), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_2
## %bb.3:
	movl	(%rcx), %edi
	movq	_local_symesz@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	%esi, %rsi
	imulq	%rcx, %rsi
	addq	8(%rax), %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bfd_coff_swap_sym_in           ## TAILCALL
LBB0_2:
	movq	_symfile_complaints@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_complaint
	movq	$0, 8(%rbx)
	movl	$-1, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_this_symtab_psymtab,8,3        ## @this_symtab_psymtab
	.comm	_symfile_complaints,4,2         ## @symfile_complaints
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid symbol offset"

	.comm	_local_symesz,4,2               ## @local_symesz
	.no_dead_strip	_read_symbol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_symbol
_read_symbol:                           ; @read_symbol
	.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
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x19, x0
	tbnz	w1, #31, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _this_symtab_psymtab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _this_symtab_psymtab@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x9, [x8, #8]
	ldr	w10, [x9]
	cmp	w10, w1
	b.le	LBB0_3
; %bb.2:
	ldr	x9, [x9, #8]
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _local_symesz@GOTPAGE
Lloh4:
	ldr	x8, [x8, _local_symesz@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	sxtw	x10, w1
	madd	x1, x8, x10, x9
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bfd_coff_swap_sym_in
LBB0_3:
Lloh6:
	adrp	x0, _symfile_complaints@GOTPAGE
Lloh7:
	ldr	x0, [x0, _symfile_complaints@GOTPAGEOFF]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_complaint
	str	xzr, [x19, #8]
	mov	w8, #-1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_this_symtab_psymtab,8,3        ; @this_symtab_psymtab
	.comm	_symfile_complaints,4,2         ; @symfile_complaints
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid symbol offset"

	.comm	_local_symesz,4,2               ; @local_symesz
	.no_dead_strip	_read_symbol
.subsections_via_symbols
