	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf32_arm_process_before_allocation ## -- Begin function bfd_elf32_arm_process_before_allocation
	.p2align	4, 0x90
_bfd_elf32_arm_process_before_allocation: ## @bfd_elf32_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, -48(%rbp)
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rsi)
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	jmp	LBB0_2
LBB0_3:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_elf32_arm_hash_table
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_check_use_blx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_BFD_ASSERT
	xorl	%edi, %edi
	cmpq	$0, 24(%rbx)
	setne	%dil
	callq	_BFD_ASSERT
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_bfd_big_endian
	testl	%eax, %eax
	je	LBB0_40
LBB0_5:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	(%r15), %r12
	testq	%r12, %r12
	je	LBB0_39
## %bb.6:
	movq	_SEC_EXCLUDE@GOTPCREL(%rip), %rbx
	movq	_FALSE@GOTPCREL(%rip), %r14
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r12), %r12
	testq	%r12, %r12
	je	LBB0_39
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
	cmpq	$0, (%r12)
	je	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %eax
	testl	%eax, 8(%r12)
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_elf_tdata
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%r14), %r8d
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	__bfd_elf_link_read_relocs
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_41
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	jle	LBB0_33
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	leaq	(%r14,%rax,4), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_record_arm_to_thumb_glue
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	$4, %r14
	cmpq	-96(%rbp), %r14                 ## 8-byte Folded Reload
	jae	LBB0_33
LBB0_15:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	callq	_ELF32_R_TYPE
	movq	%rax, %r15
	movl	(%r14), %edi
	callq	_ELF32_R_SYM
	movq	%rax, %rbx
	leaq	-133(%r15), %rax
	cmpq	$-5, %rax
	jb	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	$0, -48(%rbp)
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%r12, %rdi
	callq	_elf_section_data
	cmpq	$0, 8(%rax)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	%r12, %rdi
	callq	_elf_section_data
	movq	8(%rax), %rax
	movq	%rax, -48(%rbp)
	jmp	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	leaq	-48(%rbp), %rdx
	callq	_bfd_malloc_and_get_section
	testl	%eax, %eax
	je	LBB0_41
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=2
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	subq	(%rax), %rbx
	jb	LBB0_14
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_elf_sym_hashes
	movq	(%rax,%rbx,8), %r13
	testq	%r13, %r13
	je	LBB0_14
## %bb.22:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	$-1, 8(%r13)
	jne	LBB0_14
LBB0_24:                                ##   in Loop: Header=BB0_15 Depth=2
	leaq	-129(%r15), %rax
	cmpq	$4, %rax
	jae	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	4(%r13), %edi
	callq	_ELF_ST_TYPE
	movq	_STT_ARM_TFUNC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_14
## %bb.26:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	$132, %r15
	jne	LBB0_13
## %bb.27:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_14
	jmp	LBB0_13
LBB0_28:                                ##   in Loop: Header=BB0_15 Depth=2
	cmpq	$128, %r15
	jne	LBB0_48
## %bb.29:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	4(%r13), %edi
	callq	_ELF_ST_TYPE
	movq	_STT_ARM_TFUNC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
## %bb.30:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_14
## %bb.31:                              ##   in Loop: Header=BB0_15 Depth=2
	movl	(%r13), %eax
	movq	_bfd_link_hash_undefweak@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
## %bb.32:                              ##   in Loop: Header=BB0_15 Depth=2
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_record_thumb_to_arm_glue
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, -48(%rbp)
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	callq	_elf_section_data
	movq	-48(%rbp), %rdi
	cmpq	%rdi, 8(%rax)
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_8 Depth=1
	callq	_free
LBB0_36:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	$0, -48(%rbp)
	movq	%r12, %rdi
	callq	_elf_section_data
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%rdi, (%rax)
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	_FALSE@GOTPCREL(%rip), %r14
	movq	_SEC_EXCLUDE@GOTPCREL(%rip), %rbx
	je	LBB0_7
## %bb.37:                              ##   in Loop: Header=BB0_8 Depth=1
	callq	_free
	jmp	LBB0_7
LBB0_39:
	movq	_TRUE@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
LBB0_40:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	__bfd_error_handler
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_2
LBB0_41:
	cmpq	$0, -48(%rbp)
	je	LBB0_44
## %bb.42:
	movq	%r12, %rdi
	callq	_elf_section_data
	movq	-48(%rbp), %rdi
	cmpq	%rdi, 8(%rax)
	je	LBB0_44
## %bb.43:
	callq	_free
LBB0_44:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_47
## %bb.45:
	movq	%r12, %rdi
	callq	_elf_section_data
	cmpq	%r14, (%rax)
	movq	_FALSE@GOTPCREL(%rip), %rbx
	je	LBB0_2
## %bb.46:
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_2
LBB0_47:
	movq	_FALSE@GOTPCREL(%rip), %rbx
LBB0_2:
	movl	(%rbx), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%B: BE8 images only valid in big-endian mode."

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SEC_EXCLUDE,4,2                ## @SEC_EXCLUDE
	.comm	_STT_ARM_TFUNC,4,2              ## @STT_ARM_TFUNC
	.comm	_bfd_link_hash_undefweak,4,2    ## @bfd_link_hash_undefweak
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf32_arm_process_before_allocation ; -- Begin function bfd_elf32_arm_process_before_allocation
	.p2align	2
_bfd_elf32_arm_process_before_allocation: ; @bfd_elf32_arm_process_before_allocation
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	xzr, [sp, #8]
	ldr	x8, [x1]
	cbz	x8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_3:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_elf32_arm_hash_table
	mov	x21, x0
	bl	_check_use_blx
	cmp	x21, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x21, #24]
	cmp	x8, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_bfd_big_endian
	cbz	w0, LBB0_38
LBB0_5:
	ldr	x22, [x19]
	cbz	x22, LBB0_1
; %bb.6:
	str	x20, [sp]                       ; 8-byte Folded Spill
Lloh2:
	adrp	x20, _SEC_EXCLUDE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _SEC_EXCLUDE@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [x22, #16]
	cbz	x22, LBB0_1
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x22, #8]
	ldr	w9, [x20]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_elf_tdata
	mov	x24, x0
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	w4, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, #0
	mov	x3, #0
	bl	__bfd_elf_link_read_relocs
	mov	x27, x0
	cbz	x0, LBB0_39
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_33
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	add	x28, x27, x8, lsl #2
	mov	x23, x27
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x26
	bl	_record_arm_to_thumb_glue
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x23, x23, #4
	cmp	x23, x28
	b.hs	LBB0_33
LBB0_15:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x23]
	bl	_ELF32_R_TYPE
	mov	x25, x0
	ldr	w0, [x23]
	bl	_ELF32_R_SYM
	sub	x8, x25, #133
	cmn	x8, #5
	b.lo	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x26, x0
	ldr	x8, [sp, #8]
	cbnz	x8, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x0, x22
	bl	_elf_section_data
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x0, x22
	bl	_elf_section_data
	ldr	x8, [x0, #8]
	str	x8, [sp, #8]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_bfd_malloc_and_get_section
	cbz	w0, LBB0_39
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x24]
	subs	x26, x26, x8
	b.lo	LBB0_14
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x0, x19
	bl	_elf_sym_hashes
	ldr	x26, [x0, x26, lsl #3]
	cbz	x26, LBB0_14
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x26, #8]
	cmn	x8, #1
	b.ne	LBB0_14
LBB0_24:                                ;   in Loop: Header=BB0_15 Depth=2
	sub	x8, x25, #129
	cmp	x8, #4
	b.hs	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w0, [x26, #4]
	bl	_ELF_ST_TYPE
Lloh7:
	adrp	x8, _STT_ARM_TFUNC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _STT_ARM_TFUNC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=2
	cmp	x25, #132
	b.ne	LBB0_13
; %bb.27:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [x21]
	cbnz	w8, LBB0_14
	b	LBB0_13
LBB0_28:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	x25, #128
	b.ne	LBB0_46
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w0, [x26, #4]
	bl	_ELF_ST_TYPE
Lloh10:
	adrp	x8, _STT_ARM_TFUNC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _STT_ARM_TFUNC@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_14
; %bb.30:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [x21]
	cbnz	w8, LBB0_14
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [x26]
Lloh13:
	adrp	x9, _bfd_link_hash_undefweak@GOTPAGE
Lloh14:
	ldr	x9, [x9, _bfd_link_hash_undefweak@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_14
; %bb.32:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x26
	bl	_record_thumb_to_arm_glue
	b	LBB0_14
LBB0_33:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_elf_section_data
	ldr	x8, [x0, #8]
	ldr	x0, [sp, #8]
	cmp	x8, x0
	b.eq	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_free
LBB0_36:                                ;   in Loop: Header=BB0_8 Depth=1
	str	xzr, [sp, #8]
	mov	x0, x22
	bl	_elf_section_data
	ldr	x8, [x0]
	cmp	x8, x27
	b.eq	LBB0_7
; %bb.37:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x27
	bl	_free
	b	LBB0_7
LBB0_38:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	__bfd_error_handler
	b	LBB0_45
LBB0_39:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_42
; %bb.40:
	mov	x0, x22
	bl	_elf_section_data
	ldr	x8, [x0, #8]
	ldr	x0, [sp, #8]
	cmp	x8, x0
	b.eq	LBB0_42
; %bb.41:
	bl	_free
LBB0_42:
	cbz	x27, LBB0_45
; %bb.43:
	mov	x0, x22
	bl	_elf_section_data
	ldr	x8, [x0]
	cmp	x8, x27
	b.eq	LBB0_45
; %bb.44:
	mov	x0, x27
	bl	_free
LBB0_45:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_2
LBB0_46:
	bl	_abort
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%B: BE8 images only valid in big-endian mode."

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SEC_EXCLUDE,4,2                ; @SEC_EXCLUDE
	.comm	_STT_ARM_TFUNC,4,2              ; @STT_ARM_TFUNC
	.comm	_bfd_link_hash_undefweak,4,2    ; @bfd_link_hash_undefweak
.subsections_via_symbols
