	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf_add_obj_attr_compat    ## -- Begin function bfd_elf_add_obj_attr_compat
	.p2align	4, 0x90
_bfd_elf_add_obj_attr_compat:           ## @bfd_elf_add_obj_attr_compat
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %rbx
	movl	$32, %esi
	callq	_bfd_alloc
	movq	%rax, %r13
	xorl	%r15d, %r15d
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_Tag_compatibility@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movl	$3, 16(%r13)
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, 20(%r13)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	__bfd_elf_attr_strdup
	movl	%eax, 24(%r13)
	movq	%rbx, %rdi
	callq	_elf_other_obj_attributes
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	leaq	(%rax,%rcx,8), %r12
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.1:
	movq	(%rbx), %rax
	movq	_Tag_compatibility@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, 20(%rbx)
	ja	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rbx), %rax
	movq	%rbx, %r12
	addq	$8, %r12
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rcx
	movq	%rax, %rbx
	cmpq	(%r15), %rcx
	je	LBB0_3
LBB0_7:
	movq	(%r12), %r15
LBB0_8:
	movq	%r15, 8(%r13)
	movq	%r13, (%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Tag_compatibility,8,3          ## @Tag_compatibility
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bfd_elf_add_obj_attr_compat    ; -- Begin function bfd_elf_add_obj_attr_compat
	.p2align	2
_bfd_elf_add_obj_attr_compat:           ; @bfd_elf_add_obj_attr_compat
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	w1, #32
	bl	_bfd_alloc
	mov	x19, x0
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x24, _Tag_compatibility@GOTPAGE
Lloh1:
	ldr	x24, [x24, _Tag_compatibility@GOTPAGEOFF]
	ldr	x8, [x24]
	str	x8, [x19]
	mov	w8, #3
	stp	w8, w21, [x19, #16]
	mov	x0, x23
	mov	x1, x20
	bl	__bfd_elf_attr_strdup
	str	w0, [x19, #24]
	mov	x0, x23
	bl	_elf_other_obj_attributes
	add	x22, x0, w22, sxtw #3
	ldr	x23, [x22]
	cbz	x23, LBB0_8
; %bb.1:
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_7
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, #24]
	mov	x0, x20
	bl	_strcmp
	tbnz	w0, #31, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23, #20]
	cmp	w8, w21
	b.hi	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #8]!
	mov	x22, x23
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x8]
	ldr	x10, [x24]
	mov	x23, x8
	cmp	x9, x10
	b.eq	LBB0_2
LBB0_7:
	ldr	x8, [x22]
	b	LBB0_9
LBB0_8:
	mov	x8, #0
LBB0_9:
	str	x8, [x19, #8]
	str	x19, [x22]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Tag_compatibility,8,3          ; @Tag_compatibility
.subsections_via_symbols
