	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_new_obj_attr
_elf_new_obj_attr:                      ## @elf_new_obj_attr
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	_NUM_KNOWN_OBJ_ATTRIBUTES@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	jle	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_elf_known_obj_attributes
	movslq	%r15d, %rcx
	movslq	%r14d, %rbx
	shlq	$2, %rbx
	addq	(%rax,%rcx,8), %rbx
	jmp	LBB0_10
LBB0_2:
	movq	%r12, %rdi
	movl	$16, %esi
	callq	_bfd_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	%r14d, (%rbx)
	movq	%r12, %rdi
	callq	_elf_other_obj_attributes
	movslq	%r15d, %rdx
	leaq	(%rax,%rdx,8), %rcx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	cmpl	%r14d, (%rax)
	jg	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rcx
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%r14d, (%rax)
	jle	LBB0_6
	jmp	LBB0_8
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rcx
LBB0_9:
	movq	%rax, 8(%rbx)
	movq	%rbx, (%rcx)
	addq	$4, %rbx
LBB0_10:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_KNOWN_OBJ_ATTRIBUTES,4,2   ## @NUM_KNOWN_OBJ_ATTRIBUTES
	.no_dead_strip	_elf_new_obj_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_new_obj_attr
_elf_new_obj_attr:                      ; @elf_new_obj_attr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _NUM_KNOWN_OBJ_ATTRIBUTES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_KNOWN_OBJ_ATTRIBUTES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w2
	b.le	LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_elf_known_obj_attributes
	ldr	x8, [x0, w21, sxtw #3]
	add	x0, x8, w20, sxtw #2
	b	LBB0_8
LBB0_2:
	mov	x0, x22
	mov	w1, #16
	bl	_bfd_alloc
	mov	x19, x0
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	str	w20, [x19]
	mov	x0, x22
	bl	_elf_other_obj_attributes
	add	x9, x0, w21, sxtw #3
	ldr	x8, [x9]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	w10, [x8]
	cmp	w10, w20
	b.gt	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x8]
	cmp	w10, w20
	b.le	LBB0_4
LBB0_6:
	add	x9, x9, #8
LBB0_7:
	str	x8, [x19, #8]
	str	x19, [x9]
	add	x0, x19, #4
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_KNOWN_OBJ_ATTRIBUTES,4,2   ; @NUM_KNOWN_OBJ_ATTRIBUTES
	.no_dead_strip	_elf_new_obj_attr
.subsections_via_symbols
