	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coff_grok                      ## -- Begin function coff_grok
	.p2align	4, 0x90
_coff_grok:                             ## @coff_grok
	.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	_abfd@GOTPCREL(%rip), %r14
	movq	%rdi, (%r14)
	callq	_bfd_get_symtab_upper_bound
	movq	%rax, %rbx
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_bfd_fatal
LBB0_2:
	movq	%rbx, %rdi
	callq	_xmalloc
	movq	_syms@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%r14), %rdi
	movq	%rax, %rsi
	callq	_bfd_canonicalize_symtab
	movq	_symcount@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_bfd_fatal
LBB0_4:
	movq	(%r14), %rdi
	callq	_obj_raw_syments
	movq	_rawsyms@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%r14), %rdi
	callq	_obj_raw_syment_count
	movq	_rawcount@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$8, %edi
	movl	%eax, %esi
	callq	_xcalloc
	movq	_tindex@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_doit                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_abfd,8,3                       ## @abfd
	.comm	_syms,8,3                       ## @syms
	.comm	_symcount,8,3                   ## @symcount
	.comm	_rawsyms,4,2                    ## @rawsyms
	.comm	_rawcount,4,2                   ## @rawcount
	.comm	_tindex,8,3                     ## @tindex
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coff_grok                      ; -- Begin function coff_grok
	.p2align	2
_coff_grok:                             ; @coff_grok
	.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
Lloh0:
	adrp	x20, _abfd@GOTPAGE
Lloh1:
	ldr	x20, [x20, _abfd@GOTPAGEOFF]
	str	x0, [x20]
	bl	_bfd_get_symtab_upper_bound
	mov	x19, x0
	tbz	x0, #63, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_bfd_fatal
LBB0_2:
	mov	x0, x19
	bl	_xmalloc
	mov	x1, x0
Lloh2:
	adrp	x8, _syms@GOTPAGE
Lloh3:
	ldr	x8, [x8, _syms@GOTPAGEOFF]
Lloh4:
	str	x0, [x8]
	ldr	x0, [x20]
	bl	_bfd_canonicalize_symtab
Lloh5:
	adrp	x8, _symcount@GOTPAGE
Lloh6:
	ldr	x8, [x8, _symcount@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	tbz	x0, #63, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	w0, [x8]
	bl	_bfd_fatal
LBB0_4:
	ldr	x0, [x20]
	bl	_obj_raw_syments
Lloh8:
	adrp	x8, _rawsyms@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rawsyms@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	ldr	x0, [x20]
	bl	_obj_raw_syment_count
	mov	x1, x0
Lloh11:
	adrp	x8, _rawcount@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rawcount@GOTPAGEOFF]
Lloh13:
	str	w0, [x8]
	mov	w0, #8
	bl	_xcalloc
Lloh14:
	adrp	x8, _tindex@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tindex@GOTPAGEOFF]
Lloh16:
	str	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_doit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_abfd,8,3                       ; @abfd
	.comm	_syms,8,3                       ; @syms
	.comm	_symcount,8,3                   ; @symcount
	.comm	_rawsyms,4,2                    ; @rawsyms
	.comm	_rawcount,4,2                   ; @rawcount
	.comm	_tindex,8,3                     ; @tindex
.subsections_via_symbols
