	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_event__synthesize_build_id ## -- Begin function perf_event__synthesize_build_id
	.p2align	4, 0x90
_perf_event__synthesize_build_id:       ## @perf_event__synthesize_build_id
	.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
	cmpl	$0, 12(%rsi)
	je	LBB0_1
## %bb.2:
	movq	%r8, %r13
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-64(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	callq	_memset
	movslq	(%rbx), %rdi
	incq	%rdi
	movq	_NAME_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_PERF_ALIGN
	movq	%rax, %r14
	leaq	-44(%rbp), %rdi
	movl	8(%rbx), %esi
	movl	$4, %edx
	callq	_memcpy
	movq	_PERF_RECORD_HEADER_BUILD_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	%r12d, -56(%rbp)
	movl	(%r13), %eax
	movl	%eax, -48(%rbp)
	addl	$24, %r14d
	movl	%r14d, -60(%rbp)
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	%r15, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	*-72(%rbp)                      ## 8-byte Folded Reload
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	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	_PERF_RECORD_HEADER_BUILD_ID,4,2 ## @PERF_RECORD_HEADER_BUILD_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_perf_event__synthesize_build_id ; -- Begin function perf_event__synthesize_build_id
	.p2align	2
_perf_event__synthesize_build_id:       ; @perf_event__synthesize_build_id
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	w8, [x1, #12]
	cbz	w8, LBB0_2
; %bb.1:
	mov	x20, x4
	mov	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	add	x25, sp, #8
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldrsw	x8, [x22]
	add	x0, x8, #1
Lloh0:
	adrp	x8, _NAME_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAME_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_PERF_ALIGN
	mov	x24, x0
	add	x0, x25, #20
	ldr	w1, [x22, #8]
	mov	w2, #4
	bl	_memcpy
Lloh3:
	adrp	x8, _PERF_RECORD_HEADER_BUILD_ID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERF_RECORD_HEADER_BUILD_ID@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x20]
	stp	w8, w9, [sp, #20]
	add	w8, w24, #24
	stp	w8, w23, [sp, #12]
	ldp	w2, w1, [x22]
	add	x0, sp, #8
	bl	_memcpy
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, #0
	mov	x3, x20
	blr	x19
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAME_ALIGN,4,2                 ; @NAME_ALIGN
	.comm	_PERF_RECORD_HEADER_BUILD_ID,4,2 ; @PERF_RECORD_HEADER_BUILD_ID
.subsections_via_symbols
