	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_rusage
_print_rusage:                          ## @print_rusage
	.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
	movq	%rdi, %rbx
	callq	_print_prefix
	leaq	20(%rbx), %r14
	movq	%r14, %rdi
	callq	_format_time
	leaq	L_.str(%rip), %r12
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_xo_emit
	movq	%rbx, %rdi
	callq	_print_prefix
	leaq	16(%rbx), %r15
	movq	%r15, %rdi
	callq	_format_time
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_xo_emit
	movq	_procstat_opts@GOTPCREL(%rip), %rcx
	movq	_PS_OPT_PERTHREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	(%rbx), %rdx
	leaq	L_.str.3(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_asprintf
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_3
## %bb.2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %edi
	callq	_xo_errc
	movq	-48(%rbp), %rdi
LBB0_3:
	callq	_xo_open_container
	movq	(%rbx), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	jmp	LBB0_5
LBB0_4:
	movl	28(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
	movl	24(%rbx), %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_xo_emit
LBB0_5:
	movq	%r14, %rdi
	callq	_format_time
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	%r15, %rdi
	callq	_format_time
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	_rusage_info@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	8(%rbx,%r13,8), %rsi
	xorl	%eax, %eax
	callq	_xo_emit
	movq	-56(%rbp), %rdi
	callq	_free
	movq	(%r14), %rax
	movq	(%rax,%r15), %r12
	movq	8(%rbx,%r13,8), %rdi
	movl	12(%rax,%r15), %esi
	movl	8(%rax,%r15), %edx
	callq	_format_value
	leaq	L_.str.11(%rip), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_xo_emit
	incq	%r13
	movq	(%r14), %rdi
	callq	_nitems
	movl	%eax, %eax
	addq	$16, %r15
	cmpq	%rax, %r13
	jae	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_print_prefix
	movq	(%r14), %rax
	movq	(%rax,%r15), %rdx
	leaq	-56(%rbp), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_asprintf
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rdx
	callq	_xo_errc
	movq	-56(%rbp), %rdi
	jmp	LBB0_9
LBB0_10:
	movq	_PS_OPT_PERTHREAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_procstat_opts@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi
	callq	_xo_close_container
	movq	-48(%rbp), %rdi
	callq	_free
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"{d:resource/%-14s} {d:usage/%29s}{P:   }\n"

L_.str.1:                               ## @.str.1
	.asciz	"user time"

L_.str.2:                               ## @.str.2
	.asciz	"system time"

	.comm	_procstat_opts,4,2              ## @procstat_opts
	.comm	_PS_OPT_PERTHREAD,4,2           ## @PS_OPT_PERTHREAD
L_.str.3:                               ## @.str.3
	.asciz	"%d"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.4:                               ## @.str.4
	.asciz	"Failed to allocate memory in print_rusage()"

L_.str.5:                               ## @.str.5
	.asciz	"{e:thread_id/%d}"

L_.str.6:                               ## @.str.6
	.asciz	"{e:process_id/%d}"

L_.str.7:                               ## @.str.7
	.asciz	"{e:command/%s}"

L_.str.8:                               ## @.str.8
	.asciz	"{e:user time/%s}"

L_.str.9:                               ## @.str.9
	.asciz	"{e:system time/%s}"

	.comm	_rusage_info,8,3                ## @rusage_info
L_.str.10:                              ## @.str.10
	.asciz	"{e:%s/%%D}"

L_.str.11:                              ## @.str.11
	.asciz	"{d:resource/%-32s} {d:usage/%14s}\n"

	.no_dead_strip	_print_rusage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_rusage
_print_rusage:                          ; @print_rusage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_print_prefix
	add	x20, x19, #20
	mov	x0, x20
	bl	_format_time
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x8, x0, [sp]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	mov	x0, x22
	bl	_xo_emit
	mov	x0, x19
	bl	_print_prefix
	add	x21, x19, #16
	mov	x0, x21
	bl	_format_time
                                        ; kill: def $w0 killed $w0 def $x0
Lloh4:
	adrp	x8, l_.str.2@PAGE
Lloh5:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x8, x0, [sp]
	mov	x0, x22
	bl	_xo_emit
Lloh6:
	adrp	x8, _procstat_opts@GOTPAGE
Lloh7:
	ldr	x8, [x8, _procstat_opts@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PS_OPT_PERTHREAD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PS_OPT_PERTHREAD@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x2, [x19]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #16
	bl	_asprintf
	ldr	x0, [sp, #16]
	cbnz	x0, LBB0_3
; %bb.2:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_xo_errc
	ldr	x0, [sp, #16]
LBB0_3:
	bl	_xo_open_container
	ldr	x8, [x19]
	str	x8, [sp]
Lloh19:
	adrp	x0, l_.str.5@PAGE
Lloh20:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_5
LBB0_4:
	ldr	w8, [x19, #28]
	str	x8, [sp]
Lloh21:
	adrp	x0, l_.str.6@PAGE
Lloh22:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_xo_emit
	ldr	w8, [x19, #24]
	str	x8, [sp]
Lloh23:
	adrp	x0, l_.str.7@PAGE
Lloh24:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_5:
	bl	_xo_emit
	mov	x0, x20
	bl	_format_time
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh25:
	adrp	x0, l_.str.8@PAGE
Lloh26:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_xo_emit
	mov	x0, x21
	bl	_format_time
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh27:
	adrp	x0, l_.str.9@PAGE
Lloh28:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_xo_emit
Lloh29:
	adrp	x25, _rusage_info@GOTPAGE
Lloh30:
	ldr	x25, [x25, _rusage_info@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_nitems
	cbz	w0, LBB0_10
; %bb.6:
	mov	x26, #0
	mov	x27, #0
Lloh31:
	adrp	x20, l_.str.10@PAGE
Lloh32:
	add	x20, x20, l_.str.10@PAGEOFF
Lloh33:
	adrp	x28, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x28, [x28, _ENOMEM@GOTPAGEOFF]
Lloh35:
	adrp	x21, l_.str.4@PAGE
Lloh36:
	add	x21, x21, l_.str.4@PAGEOFF
Lloh37:
	adrp	x22, l_.str.11@PAGE
Lloh38:
	add	x22, x22, l_.str.11@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x19, x27, lsl #3
	ldr	x8, [x23, #8]
	str	x8, [sp]
	bl	_xo_emit
	ldr	x0, [sp, #24]
	bl	_free
	ldr	x8, [x25]
	add	x8, x8, x26
	ldr	x24, [x8]
	ldr	x0, [x23, #8]
	ldp	w2, w1, [x8, #8]
	bl	_format_value
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x24, x0, [sp]
	mov	x0, x22
	bl	_xo_emit
	add	x27, x27, #1
	ldr	x0, [x25]
	bl	_nitems
	add	x26, x26, #16
	cmp	x27, w0, uxtw
	b.hs	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_print_prefix
	ldr	x8, [x25]
	ldr	x2, [x8, x26]
	add	x0, sp, #24
	mov	x1, x20
	bl	_asprintf
	ldr	x0, [sp, #24]
	cbnz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x28]
	mov	w0, #1
	mov	x2, x21
	bl	_xo_errc
	ldr	x0, [sp, #24]
	b	LBB0_7
LBB0_10:
Lloh39:
	adrp	x8, _procstat_opts@GOTPAGE
Lloh40:
	ldr	x8, [x8, _procstat_opts@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _PS_OPT_PERTHREAD@GOTPAGE
Lloh43:
	ldr	x9, [x9, _PS_OPT_PERTHREAD@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	ldr	x0, [sp, #16]
	bl	_xo_close_container
	ldr	x0, [sp, #16]
	bl	_free
LBB0_12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"{d:resource/%-14s} {d:usage/%29s}{P:   }\n"

l_.str.1:                               ; @.str.1
	.asciz	"user time"

l_.str.2:                               ; @.str.2
	.asciz	"system time"

	.comm	_procstat_opts,4,2              ; @procstat_opts
	.comm	_PS_OPT_PERTHREAD,4,2           ; @PS_OPT_PERTHREAD
l_.str.3:                               ; @.str.3
	.asciz	"%d"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.4:                               ; @.str.4
	.asciz	"Failed to allocate memory in print_rusage()"

l_.str.5:                               ; @.str.5
	.asciz	"{e:thread_id/%d}"

l_.str.6:                               ; @.str.6
	.asciz	"{e:process_id/%d}"

l_.str.7:                               ; @.str.7
	.asciz	"{e:command/%s}"

l_.str.8:                               ; @.str.8
	.asciz	"{e:user time/%s}"

l_.str.9:                               ; @.str.9
	.asciz	"{e:system time/%s}"

	.comm	_rusage_info,8,3                ; @rusage_info
l_.str.10:                              ; @.str.10
	.asciz	"{e:%s/%%D}"

l_.str.11:                              ; @.str.11
	.asciz	"{d:resource/%-32s} {d:usage/%14s}\n"

	.no_dead_strip	_print_rusage
.subsections_via_symbols
