	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_arm_process_before_allocation ## -- Begin function bfd_arm_process_before_allocation
	.p2align	4, 0x90
_bfd_arm_process_before_allocation:     ## @bfd_arm_process_before_allocation
	.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
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%rsi)
	je	LBB0_1
LBB0_19:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%edx, %r14d
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	__bfd_coff_get_external_symbols
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_coff_arm_hash_table
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setne	%dil
	callq	_BFD_ASSERT
	movl	%r14d, (%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	__bfd_coff_read_internal_relocs
	xorl	%edi, %edi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	cmpq	$0, (%rbx)
	jle	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=2
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	__bfd_error_handler
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	(%rbx), %rax
	shlq	$4, %rax
	addq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	addq	$16, %r13
	cmpq	%rax, %r13
	jae	LBB0_18
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %r14
	cmpq	$-1, %r14
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movzwl	(%r13), %r15d
	movq	%r12, %rdi
	callq	_obj_conv_table_size
	cmpq	%rax, %r14
	jge	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	%r12, %rdi
	callq	_obj_coff_sym_hashes
	movq	(%rax,%r14,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movzwl	%r15w, %eax
	cmpl	$131, %eax
	je	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$132, %eax
	jne	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	(%rsi), %eax
	movq	_C_THUMBEXTFUNC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_record_arm_to_thumb_glue
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	(%rsi), %eax
	addl	$-128, %eax
	cmpl	$2, %eax
	ja	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_record_thumb_to_arm_glue
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=2
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%B: illegal symbol index in reloc: %d"

	.comm	_C_THUMBEXTFUNC,4,2             ## @C_THUMBEXTFUNC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_arm_process_before_allocation ; -- Begin function bfd_arm_process_before_allocation
	.p2align	2
_bfd_arm_process_before_allocation:     ; @bfd_arm_process_before_allocation
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	ldr	x8, [x1]
	cbz	x8, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	__bfd_coff_get_external_symbols
	mov	x0, x19
	bl	_coff_arm_hash_table
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x22, #8]
	cmp	x8, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	str	w21, [x22]
	ldr	x21, [x20]
	cbz	x21, LBB0_1
; %bb.3:
Lloh3:
	adrp	x25, _C_THUMBEXTFUNC@GOTPAGE
Lloh4:
	ldr	x25, [x25, _C_THUMBEXTFUNC@GOTPAGEOFF]
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	__bfd_coff_read_internal_relocs
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x23
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x22
	bl	__
	mov	x1, x20
	mov	x2, x24
	bl	__bfd_error_handler
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x21]
	add	x8, x23, x8, lsl #4
	add	x26, x26, #16
	cmp	x26, x8
	b.hs	LBB0_4
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x24, [x26, #8]
	cmn	x24, #1
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrh	w27, [x26]
	mov	x0, x20
	bl	_obj_conv_table_size
	cmp	x24, x0
	b.ge	LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x20
	bl	_obj_coff_sym_hashes
	ldr	x1, [x0, x24, lsl #3]
	cbz	x1, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w27, #131
	b.eq	LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=2
	cmp	w27, #132
	b.ne	LBB0_9
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x1]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x19
	bl	_record_arm_to_thumb_glue
	b	LBB0_9
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x1]
	sub	w8, w8, #128
	cmp	w8, #2
	b.hi	LBB0_9
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x19
	bl	_record_thumb_to_arm_glue
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%B: illegal symbol index in reloc: %d"

	.comm	_C_THUMBEXTFUNC,4,2             ; @C_THUMBEXTFUNC
.subsections_via_symbols
