	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_arm_update_notes           ## -- Begin function bfd_arm_update_notes
	.p2align	4, 0x90
_bfd_arm_update_notes:                  ## @bfd_arm_update_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	_bfd_get_section_by_name
	movq	_TRUE@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	movq	(%rax), %r12
	movq	_FALSE@GOTPCREL(%rip), %rax
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bfd_malloc_and_get_section
	testl	%eax, %eax
	je	LBB0_11
## %bb.4:
	movq	-48(%rbp), %rsi
	movq	_NOTE_ARCH_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %r8
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_arm_check_note
	testl	%eax, %eax
	je	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	callq	_bfd_get_mach
	addl	$-129, %eax
	cmpl	$12, %eax
	ja	LBB0_6
## %bb.7:
	cltq
	leaq	l_reltable.bfd_arm_update_notes(%rip), %rcx
	movslq	(%rcx,%rax,4), %rsi
	addq	%rcx, %rsi
	jmp	LBB0_8
LBB0_2:
	movq	%rax, %r13
	jmp	LBB0_14
LBB0_6:
	leaq	L_.str(%rip), %rsi
LBB0_8:
	movq	-80(%rbp), %rdi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_15
## %bb.9:
	movq	-48(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_arm_Note@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_offsetof
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_NOTE_ARCH_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strlen
	addl	$3, %eax
	andl	$-4, %eax
	addl	-52(%rbp), %eax                 ## 4-byte Folded Reload
	movslq	%eax, %rdi
	addq	-64(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcpy
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_bfd_set_section_contents
	testl	%eax, %eax
	je	LBB0_10
LBB0_15:
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_14
LBB0_10:
	leaq	L_.str.14(%rip), %rdi
	callq	__
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_bfd_get_filename
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	__bfd_error_handler
LBB0_11:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_free
LBB0_13:
	movq	_FALSE@GOTPCREL(%rip), %r13
LBB0_14:
	movl	(%r13), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_NOTE_ARCH_STRING,4,2           ## @NOTE_ARCH_STRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown"

L_.str.1:                               ## @.str.1
	.asciz	"armv2"

L_.str.2:                               ## @.str.2
	.asciz	"armv2a"

L_.str.3:                               ## @.str.3
	.asciz	"armv3"

L_.str.4:                               ## @.str.4
	.asciz	"armv3M"

L_.str.5:                               ## @.str.5
	.asciz	"armv4"

L_.str.6:                               ## @.str.6
	.asciz	"armv4t"

L_.str.7:                               ## @.str.7
	.asciz	"armv5"

L_.str.8:                               ## @.str.8
	.asciz	"armv5t"

L_.str.9:                               ## @.str.9
	.asciz	"armv5te"

L_.str.10:                              ## @.str.10
	.asciz	"XScale"

L_.str.11:                              ## @.str.11
	.asciz	"ep9312"

L_.str.12:                              ## @.str.12
	.asciz	"iWMMXt"

L_.str.13:                              ## @.str.13
	.asciz	"iWMMXt2"

	.comm	_arm_Note,4,2                   ## @arm_Note
	.comm	_name,4,2                       ## @name
L_.str.14:                              ## @.str.14
	.asciz	"warning: unable to update contents of %s section in %s"

	.section	__TEXT,__const
	.p2align	2                               ## @reltable.bfd_arm_update_notes
l_reltable.bfd_arm_update_notes:
	.long	L_.str.13-l_reltable.bfd_arm_update_notes
	.long	L_.str.12-l_reltable.bfd_arm_update_notes
	.long	L_.str.11-l_reltable.bfd_arm_update_notes
	.long	L_.str.10-l_reltable.bfd_arm_update_notes
	.long	L_.str.9-l_reltable.bfd_arm_update_notes
	.long	L_.str.8-l_reltable.bfd_arm_update_notes
	.long	L_.str.7-l_reltable.bfd_arm_update_notes
	.long	L_.str.6-l_reltable.bfd_arm_update_notes
	.long	L_.str.5-l_reltable.bfd_arm_update_notes
	.long	L_.str.4-l_reltable.bfd_arm_update_notes
	.long	L_.str.3-l_reltable.bfd_arm_update_notes
	.long	L_.str.2-l_reltable.bfd_arm_update_notes
	.long	L_.str.1-l_reltable.bfd_arm_update_notes

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_arm_update_notes           ; -- Begin function bfd_arm_update_notes
	.p2align	2
_bfd_arm_update_notes:                  ; @bfd_arm_update_notes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x0
	ldr	x22, [x0]
	cbz	x22, LBB0_14
; %bb.2:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_bfd_malloc_and_get_section
	cbz	w0, LBB0_12
; %bb.3:
	ldr	x1, [sp, #8]
Lloh0:
	adrp	x25, _NOTE_ARCH_STRING@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NOTE_ARCH_STRING@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x4, sp
	mov	x0, x20
	mov	x2, x22
	bl	_arm_check_note
	cbz	w0, LBB0_12
; %bb.4:
	mov	x0, x20
	bl	_bfd_get_mach
	sub	w8, w0, #129
	cmp	w8, #12
	b.hi	LBB0_6
; %bb.5:
Lloh2:
	adrp	x9, l_switch.table.bfd_arm_update_notes@PAGE
Lloh3:
	add	x9, x9, l_switch.table.bfd_arm_update_notes@PAGEOFF
	ldr	x23, [x9, w8, sxtw #3]
	b	LBB0_7
LBB0_6:
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
LBB0_7:
	ldr	x0, [sp]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.8:
	ldr	x26, [sp, #8]
Lloh6:
	adrp	x8, _arm_Note@GOTPAGE
Lloh7:
	ldr	x8, [x8, _arm_Note@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _name@GOTPAGE
Lloh10:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_offsetof
	mov	x24, x0
	ldr	w0, [x25]
	bl	_strlen
	add	w8, w0, #3
	and	w8, w8, #0xfffffffc
	add	w8, w8, w24
	add	x0, x26, w8, sxtw
	mov	x1, x23
	bl	_strcpy
	ldr	x2, [sp, #8]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	x4, x22
	bl	_bfd_set_section_contents
	cbz	w0, LBB0_11
LBB0_9:
	ldr	x0, [sp, #8]
	bl	_free
LBB0_10:
Lloh12:
	adrp	x8, _TRUE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh14:
	adrp	x0, l_.str.14@PAGE
Lloh15:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	__
	mov	x21, x0
	mov	x0, x20
	bl	_bfd_get_filename
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	bl	__bfd_error_handler
LBB0_12:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_14
; %bb.13:
	bl	_free
LBB0_14:
Lloh16:
	adrp	x8, _FALSE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_15:
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_NOTE_ARCH_STRING,4,2           ; @NOTE_ARCH_STRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown"

l_.str.1:                               ; @.str.1
	.asciz	"armv2"

l_.str.2:                               ; @.str.2
	.asciz	"armv2a"

l_.str.3:                               ; @.str.3
	.asciz	"armv3"

l_.str.4:                               ; @.str.4
	.asciz	"armv3M"

l_.str.5:                               ; @.str.5
	.asciz	"armv4"

l_.str.6:                               ; @.str.6
	.asciz	"armv4t"

l_.str.7:                               ; @.str.7
	.asciz	"armv5"

l_.str.8:                               ; @.str.8
	.asciz	"armv5t"

l_.str.9:                               ; @.str.9
	.asciz	"armv5te"

l_.str.10:                              ; @.str.10
	.asciz	"XScale"

l_.str.11:                              ; @.str.11
	.asciz	"ep9312"

l_.str.12:                              ; @.str.12
	.asciz	"iWMMXt"

l_.str.13:                              ; @.str.13
	.asciz	"iWMMXt2"

	.comm	_arm_Note,4,2                   ; @arm_Note
	.comm	_name,4,2                       ; @name
l_.str.14:                              ; @.str.14
	.asciz	"warning: unable to update contents of %s section in %s"

	.section	__DATA,__const
	.p2align	3                               ; @switch.table.bfd_arm_update_notes
l_switch.table.bfd_arm_update_notes:
	.quad	l_.str.13
	.quad	l_.str.12
	.quad	l_.str.11
	.quad	l_.str.10
	.quad	l_.str.9
	.quad	l_.str.8
	.quad	l_.str.7
	.quad	l_.str.6
	.quad	l_.str.5
	.quad	l_.str.4
	.quad	l_.str.3
	.quad	l_.str.2
	.quad	l_.str.1

.subsections_via_symbols
