	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function machine__write_buildid_table
_machine__write_buildid_table:          ## @machine__write_buildid_table
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_PERF_RECORD_MISC_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_PERF_RECORD_MISC_USER@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_machine__is_host
	movl	%eax, %r12d
	movq	_PERF_RECORD_MISC_GUEST_USER@GOTPCREL(%rip), %rax
	testl	%r12d, %r12d
	jne	LBB0_2
## %bb.1:
	movq	_PERF_RECORD_MISC_GUEST_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	8(%rbx), %rdi
	movl	(%rbx), %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	callq	___dsos__write_buildid_table
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r12d, %r12d
	cmovel	-44(%rbp), %r15d                ## 4-byte Folded Reload
	movl	(%rbx), %esi
	addq	$4, %rbx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	movl	%r14d, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___dsos__write_buildid_table    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PERF_RECORD_MISC_KERNEL,4,2    ## @PERF_RECORD_MISC_KERNEL
	.comm	_PERF_RECORD_MISC_USER,4,2      ## @PERF_RECORD_MISC_USER
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,4,2 ## @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_PERF_RECORD_MISC_GUEST_USER,4,2 ## @PERF_RECORD_MISC_GUEST_USER
	.no_dead_strip	_machine__write_buildid_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function machine__write_buildid_table
_machine__write_buildid_table:          ; @machine__write_buildid_table
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _PERF_RECORD_MISC_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PERF_RECORD_MISC_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _PERF_RECORD_MISC_USER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERF_RECORD_MISC_USER@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	bl	_machine__is_host
	mov	x21, x0
Lloh6:
	adrp	x8, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PERF_RECORD_MISC_GUEST_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PERF_RECORD_MISC_GUEST_USER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PERF_RECORD_MISC_GUEST_USER@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x9]
	cmp	w0, #0
	csel	w2, w8, w24, eq
	mov	x0, x20
	ldr	w1, [x0], #8
	mov	x3, x19
	bl	___dsos__write_buildid_table
	cbz	w0, LBB0_2
; %bb.1:
	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
LBB0_2:
	cmp	w21, #0
	csel	w2, w23, w22, eq
	ldr	w1, [x20], #4
	mov	x0, x20
	mov	x3, x19
	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
	b	___dsos__write_buildid_table
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PERF_RECORD_MISC_KERNEL,4,2    ; @PERF_RECORD_MISC_KERNEL
	.comm	_PERF_RECORD_MISC_USER,4,2      ; @PERF_RECORD_MISC_USER
	.comm	_PERF_RECORD_MISC_GUEST_KERNEL,4,2 ; @PERF_RECORD_MISC_GUEST_KERNEL
	.comm	_PERF_RECORD_MISC_GUEST_USER,4,2 ; @PERF_RECORD_MISC_GUEST_USER
	.no_dead_strip	_machine__write_buildid_table
.subsections_via_symbols
