	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_buildid
_write_buildid:                         ## @write_buildid
	.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
	movl	%r9d, %r14d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	incq	%rbx
	movq	_NAME_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_PERF_ALIGN
	movq	%rax, %r12
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	leaq	-52(%rbp), %rdi
	movq	_BUILD_ID_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rsi
	callq	_memcpy
	movl	%r15d, -56(%rbp)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -60(%rbp)
	leal	16(%r12), %eax
	movl	%eax, -64(%rbp)
	movl	%r14d, %edi
	leaq	-64(%rbp), %rsi
	movl	$16, %edx
	callq	_do_write
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	%r14d, %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_write_padded
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAME_ALIGN,4,2                 ## @NAME_ALIGN
	.comm	_BUILD_ID_SIZE,4,2              ## @BUILD_ID_SIZE
	.no_dead_strip	_write_buildid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_buildid
_write_buildid:                         ; @write_buildid
	.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, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x0
	add	x21, x1, #1
Lloh0:
	adrp	x8, _NAME_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAME_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_PERF_ALIGN
	mov	x22, x0
	mov	x26, sp
	mov	x0, sp
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, x26, #12
Lloh3:
	adrp	x8, _BUILD_ID_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUILD_ID_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_memcpy
	stp	w23, w24, [sp, #4]
	add	w8, w22, #16
	str	w8, [sp]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #16
	bl	_do_write
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_write_padded
LBB0_2:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAME_ALIGN,4,2                 ; @NAME_ALIGN
	.comm	_BUILD_ID_SIZE,4,2              ; @BUILD_ID_SIZE
	.no_dead_strip	_write_buildid
.subsections_via_symbols
