	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __cmd_record
___cmd_record:                          ## @__cmd_record
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movaps	l___const.__cmd_record.record_new_args+96(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.__cmd_record.record_new_args+80(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.__cmd_record.record_new_args+64(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.__cmd_record.record_new_args+48(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	l___const.__cmd_record.record_new_args+32(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	l___const.__cmd_record.record_new_args+16(%rip), %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	l___const.__cmd_record.record_new_args(%rip), %xmm0
	movaps	%xmm0, -160(%rbp)
	leaq	-160(%rbp), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
	leal	(%rbx,%r12), %edi
	movl	$8, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%rax, %r15
	movq	%r12, -168(%rbp)                ## 8-byte Spill
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.2:
	movl	%ebx, %r13d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-160(%rbp,%r12,8), %rdi
	callq	_strdup
	movq	%rax, (%r15,%r12,8)
	incq	%r12
	cmpq	%r12, %r13
	jne	LBB0_3
LBB0_4:
	movq	-168(%rbp), %rax                ## 8-byte Reload
	cmpl	$2, %eax
	jb	LBB0_20
## %bb.5:
	movl	%eax, %r10d
	leaq	-1(%r10), %r9
	movl	$1, %ecx
	cmpq	$4, %r9
	jae	LBB0_6
LBB0_16:
	movl	%r10d, %esi
	subl	%ecx, %esi
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r10, %rdx
	andq	$3, %rsi
	je	LBB0_18
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rcx,8), %rax
	movl	%ebx, %edi
	movq	%rax, (%r15,%rdi,8)
	incq	%rcx
	incl	%ebx
	decq	%rsi
	jne	LBB0_17
LBB0_18:
	cmpq	$3, %rdx
	jb	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rcx,8), %rax
	movl	%ebx, %edx
	movq	%rax, (%r15,%rdx,8)
	leal	1(%rbx), %eax
	movq	8(%r14,%rcx,8), %rdx
	movq	%rdx, (%r15,%rax,8)
	leal	2(%rbx), %eax
	movq	16(%r14,%rcx,8), %rdx
	movq	%rdx, (%r15,%rax,8)
	leal	3(%rbx), %eax
	movq	24(%r14,%rcx,8), %rdx
	movq	%rdx, (%r15,%rax,8)
	addq	$4, %rcx
	addl	$4, %ebx
	cmpq	%rcx, %r10
	jne	LBB0_19
	jmp	LBB0_20
LBB0_23:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_21
LBB0_6:
	leaq	-2(%r10), %rdx
	movl	%ebx, %esi
	addl	%edx, %esi
	jb	LBB0_16
## %bb.7:
	shrq	$32, %rdx
	jne	LBB0_16
## %bb.8:
	movq	%r9, %rcx
	andq	$-4, %rcx
	leaq	-4(%rcx), %rdx
	movq	%rdx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.10:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	8(%r14,%rsi,8), %xmm0
	movups	24(%r14,%rsi,8), %xmm1
	movl	%edx, %eax
	movups	%xmm0, (%r15,%rax,8)
	movups	%xmm1, 16(%r15,%rax,8)
	leal	4(%rdx), %eax
	movups	40(%r14,%rsi,8), %xmm0
	movups	56(%r14,%rsi,8), %xmm1
	movups	%xmm0, (%r15,%rax,8)
	movups	%xmm1, 16(%r15,%rax,8)
	addq	$8, %rsi
	addl	$8, %edx
	addq	$-2, %rdi
	jne	LBB0_11
## %bb.12:
	testb	$1, %r8b
	je	LBB0_14
LBB0_13:
	leal	(%rbx,%rsi), %eax
	shlq	$3, %rsi
	orq	$8, %rsi
	movups	(%r14,%rsi), %xmm0
	movups	16(%r14,%rsi), %xmm1
	movups	%xmm0, (%r15,%rax,8)
	movups	%xmm1, 16(%r15,%rax,8)
LBB0_14:
	addl	%ecx, %ebx
	cmpq	%rcx, %r9
	jne	LBB0_15
LBB0_20:
	movl	%ebx, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_cmd_record
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_22
## %bb.24:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	orq	$1, %rcx
	jmp	LBB0_16
LBB0_9:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_13
	jmp	LBB0_14
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"record"

L_.str.1:                               ## @.str.1
	.asciz	"-a"

L_.str.2:                               ## @.str.2
	.asciz	"-R"

L_.str.3:                               ## @.str.3
	.asciz	"-f"

L_.str.4:                               ## @.str.4
	.asciz	"-c"

L_.str.5:                               ## @.str.5
	.asciz	"1"

L_.str.6:                               ## @.str.6
	.asciz	"-e"

L_.str.7:                               ## @.str.7
	.asciz	"power:cpu_frequency"

L_.str.8:                               ## @.str.8
	.asciz	"power:cpu_idle"

L_.str.9:                               ## @.str.9
	.asciz	"sched:sched_wakeup"

L_.str.10:                              ## @.str.10
	.asciz	"sched:sched_switch"

	.section	__DATA,__const
	.p2align	4                               ## @__const.__cmd_record.record_new_args
l___const.__cmd_record.record_new_args:
	.quad	L_.str
	.quad	L_.str.1
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	L_.str.4
	.quad	L_.str.5
	.quad	L_.str.6
	.quad	L_.str.7
	.quad	L_.str.6
	.quad	L_.str.8
	.quad	L_.str.6
	.quad	L_.str.9
	.quad	L_.str.6
	.quad	L_.str.10

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_use_old_power_events,4,2       ## @use_old_power_events
	.no_dead_strip	___cmd_record
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __cmd_record
___cmd_record:                          ; @__cmd_record
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, l___const.__cmd_record.record_new_args@PAGE
Lloh4:
	add	x8, x8, l___const.__cmd_record.record_new_args@PAGEOFF
	ldp	q0, q1, [x8, #64]
	stp	q0, q1, [sp, #64]
	ldr	q0, [x8, #96]
	str	q0, [sp, #96]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldp	q1, q0, [x8, #32]
	stp	q1, q0, [sp, #32]
	mov	x0, sp
	bl	_ARRAY_SIZE
	mov	x21, x0
	add	w0, w0, w22
	mov	w1, #8
	bl	_calloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	cbz	w21, LBB0_4
; %bb.2:
	mov	w23, w21
	mov	x24, sp
	mov	x25, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24], #8
	bl	_strdup
	str	x0, [x25], #8
	subs	x23, x23, #1
	b.ne	LBB0_3
LBB0_4:
	cmp	w22, #2
	b.lo	LBB0_11
; %bb.5:
	mov	w8, w22
	sub	x10, x8, #1
	cmp	x10, #8
	b.hs	LBB0_15
; %bb.6:
	mov	w9, #1
LBB0_7:
	mov	x0, x21
LBB0_8:
	add	x10, x20, x9, lsl #3
	sub	x8, x8, x9
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x10], #8
	str	x9, [x19, w0, uxtw #3]
	add	w0, w0, #1
	subs	x8, x8, #1
	b.ne	LBB0_9
	b	LBB0_12
LBB0_10:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_11:
	mov	x0, x21
LBB0_12:
	mov	x1, x19
	mov	x2, #0
	bl	_cmd_record
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.14:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_15:
	sub	x11, x8, #2
	mov	w9, #1
	cmn	w21, w11
	b.hs	LBB0_7
; %bb.16:
	lsr	x11, x11, #32
	cbnz	x11, LBB0_7
; %bb.17:
	and	x11, x10, #0xfffffffffffffff8
	orr	x9, x11, #0x1
	add	w0, w21, w11
	add	x12, x20, #40
	mov	x13, x11
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	add	x14, x19, w21, uxtw #3
	stp	q0, q1, [x14]
	stp	q2, q3, [x14, #32]
	add	w21, w21, #8
	subs	x13, x13, #8
	b.ne	LBB0_18
; %bb.19:
	cmp	x10, x11
	b.ne	LBB0_8
	b	LBB0_12
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"record"

l_.str.1:                               ; @.str.1
	.asciz	"-a"

l_.str.2:                               ; @.str.2
	.asciz	"-R"

l_.str.3:                               ; @.str.3
	.asciz	"-f"

l_.str.4:                               ; @.str.4
	.asciz	"-c"

l_.str.5:                               ; @.str.5
	.asciz	"1"

l_.str.6:                               ; @.str.6
	.asciz	"-e"

l_.str.7:                               ; @.str.7
	.asciz	"power:cpu_frequency"

l_.str.8:                               ; @.str.8
	.asciz	"power:cpu_idle"

l_.str.9:                               ; @.str.9
	.asciz	"sched:sched_wakeup"

l_.str.10:                              ; @.str.10
	.asciz	"sched:sched_switch"

	.section	__DATA,__const
	.p2align	3                               ; @__const.__cmd_record.record_new_args
l___const.__cmd_record.record_new_args:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.6
	.quad	l_.str.8
	.quad	l_.str.6
	.quad	l_.str.9
	.quad	l_.str.6
	.quad	l_.str.10

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_use_old_power_events,4,2       ; @use_old_power_events
	.no_dead_strip	___cmd_record
.subsections_via_symbols
