	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vendor_set_obj_attr_contents
_vendor_set_obj_attr_contents:          ## @vendor_set_obj_attr_contents
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	%ecx, %esi
	callq	_vendor_obj_attr_name
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_strlen
	movslq	%eax, %r12
	leaq	1(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_bfd_put_32
	leaq	16(%rbx), %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_memcpy
	movq	_Tag_File@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	(%rbx,%r12,4), %rdx
	addq	$24, %rdx
	movl	%eax, 20(%rbx,%r12,4)
	movl	%r12d, %eax
	notl	%eax
	leal	(%r14,%rax), %esi
	addl	$-4, %esi
	movq	%r15, %r14
	movq	%r15, %rdi
	callq	_bfd_put_32
	leaq	(%rbx,%r12,4), %r12
	addq	$40, %r12
	movq	%r15, %rdi
	callq	_elf_known_obj_attributes
	movslq	-48(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	_NUM_KNOWN_OBJ_ATTRIBUTES@GOTPCREL(%rip), %r13
	cmpl	$5, (%r13)
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jl	LBB0_3
## %bb.1:
	movq	(%rax,%rcx,8), %r15
	addq	$16, %r15
	movl	$4, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_write_obj_attribute
	movq	%rax, %r12
	incq	%rbx
	movslq	(%r13), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	%r14, %rdi
	callq	_elf_other_obj_attributes
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	leaq	4(%rbx), %rdx
	movq	%r12, %rdi
	callq	_write_obj_attribute
	movq	%rax, %r12
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Tag_File,4,2                   ## @Tag_File
	.comm	_NUM_KNOWN_OBJ_ATTRIBUTES,4,2   ## @NUM_KNOWN_OBJ_ATTRIBUTES
	.no_dead_strip	_vendor_set_obj_attr_contents
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vendor_set_obj_attr_contents
_vendor_set_obj_attr_contents:          ; @vendor_set_obj_attr_contents
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	x1, x3
	bl	_vendor_obj_attr_name
	mov	x23, x0
	bl	_strlen
	mov	x24, x0
	add	w26, w0, #1
	sxtw	x25, w26
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_bfd_put_32
	add	x20, x20, #16
	mov	x0, x20
	mov	x1, x23
	mov	x2, x25
	bl	_memcpy
	add	x20, x20, w26, sxtw #2
Lloh0:
	adrp	x8, _Tag_File@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Tag_File@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x2, x20, #4
	str	w8, [x20], #20
	mvn	w8, w24
	add	w8, w22, w8
	sub	w1, w8, #4
	mov	x0, x19
	bl	_bfd_put_32
	mov	x0, x19
	bl	_elf_known_obj_attributes
	sxtw	x23, w21
Lloh3:
	adrp	x24, _NUM_KNOWN_OBJ_ATTRIBUTES@GOTPAGE
Lloh4:
	ldr	x24, [x24, _NUM_KNOWN_OBJ_ATTRIBUTES@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, #5
	b.lt	LBB0_3
; %bb.1:
	ldr	x8, [x0, w21, sxtw #3]
	add	x21, x8, #16
	mov	w22, #4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_write_obj_attribute
	mov	x20, x0
	add	x22, x22, #1
	ldrsw	x8, [x24]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_elf_other_obj_attributes
	ldr	x19, [x0, x23, lsl #3]
	cbz	x19, LBB0_5
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	add	x2, x19, #4
	mov	x0, x20
	bl	_write_obj_attribute
	mov	x20, x0
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_Tag_File,4,2                   ; @Tag_File
	.comm	_NUM_KNOWN_OBJ_ATTRIBUTES,4,2   ; @NUM_KNOWN_OBJ_ATTRIBUTES
	.no_dead_strip	_vendor_set_obj_attr_contents
.subsections_via_symbols
