	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_arm_get_mach_from_notes    ## -- Begin function bfd_arm_get_mach_from_notes
	.p2align	4, 0x90
_bfd_arm_get_mach_from_notes:           ## @bfd_arm_get_mach_from_notes
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_bfd_get_section_by_name
	movq	_bfd_mach_arm_unknown@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_10
## %bb.2:
	leaq	-40(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_bfd_malloc_and_get_section
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	-40(%rbp), %rsi
	movq	_NOTE_ARCH_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_arm_check_note
	testl	%eax, %eax
	je	LBB0_8
## %bb.4:
	movq	_architectures@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movslq	%eax, %rbx
	leaq	(,%rbx,8), %r12
	negq	%r12
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %rbx
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	-48(%rbp), %rdi
	movq	(%r14), %rax
	movl	4(%rax,%rbx,8), %esi
	callq	_strcmp
	addq	$8, %r12
	testq	%rax, %rax
	jne	LBB0_5
## %bb.7:
	movq	-40(%rbp), %rdi
	callq	_free
	movq	(%r14), %r15
	subq	%r12, %r15
	jmp	LBB0_10
LBB0_8:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_free
LBB0_10:
	movl	(%r15), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_mach_arm_unknown,4,2       ## @bfd_mach_arm_unknown
	.comm	_NOTE_ARCH_STRING,4,2           ## @NOTE_ARCH_STRING
	.comm	_architectures,8,3              ## @architectures
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_arm_get_mach_from_notes    ; -- Begin function bfd_arm_get_mach_from_notes
	.p2align	2
_bfd_arm_get_mach_from_notes:           ; @bfd_arm_get_mach_from_notes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_10
; %bb.1:
	mov	x1, x0
	ldr	x20, [x0]
	cbz	x20, LBB0_10
; %bb.2:
	add	x2, sp, #8
	mov	x0, x19
	bl	_bfd_malloc_and_get_section
	cbz	w0, LBB0_8
; %bb.3:
	ldr	x1, [sp, #8]
Lloh0:
	adrp	x8, _NOTE_ARCH_STRING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NOTE_ARCH_STRING@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x4, sp
	mov	x0, x19
	mov	x2, x20
	bl	_arm_check_note
	cbz	w0, LBB0_8
; %bb.4:
Lloh3:
	adrp	x19, _architectures@GOTPAGE
Lloh4:
	ldr	x19, [x19, _architectures@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x20, x8, #1
	sbfiz	x8, x0, #3, #32
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x20, x20, #1
	cbz	x20, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x21, x8, #8
	ldr	x0, [sp]
	ldr	x9, [x19]
	add	x8, x9, x8
	ldur	w1, [x8, #-4]
	bl	_strcmp
	mov	x8, x21
	cbnz	x0, LBB0_5
; %bb.7:
	ldr	x0, [sp, #8]
	bl	_free
	ldr	x8, [x19]
	add	x8, x8, x21
	b	LBB0_11
LBB0_8:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_10
; %bb.9:
	bl	_free
LBB0_10:
Lloh5:
	adrp	x8, _bfd_mach_arm_unknown@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bfd_mach_arm_unknown@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_mach_arm_unknown,4,2       ; @bfd_mach_arm_unknown
	.comm	_NOTE_ARCH_STRING,4,2           ; @NOTE_ARCH_STRING
	.comm	_architectures,8,3              ; @architectures
.subsections_via_symbols
