	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chewrec
_chewrec:                               ## @chewrec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_DTRACE_CONSUME_NEXT@GOTPCREL(%rip), %r14
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.1:
	movq	(%rdi), %rax
	movq	8(%rsi), %rcx
	subq	%rcx, %rax
	movl	(%rsi), %edx
	cmpl	$129, %edx
	je	LBB0_11
## %bb.2:
	cmpl	$128, %edx
	jne	LBB0_3
## %bb.4:
	movq	8(%rdi), %rcx
	cmpl	$2, (%rcx)
	jl	LBB0_13
## %bb.5:
	movl	16(%rsi), %r8d
	addq	$40, %rsi
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdx
	movq	-32(%rsi), %rbx
	movl	(%rbx,%rax), %ebx
	movl	%ebx, -36(%rbp,%rdx,4)
	movslq	(%rcx), %rbx
	decq	%rbx
	cmpq	%rbx, %rdx
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	1(%rdx), %rbx
	leaq	24(%rsi), %rdi
	cmpl	%r8d, (%rsi)
	movq	%rdi, %rsi
	je	LBB0_6
LBB0_8:
	movq	_g_opt_s@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	$1, (%rax)
	adcl	$1, %ecx
	cmpl	%edx, %ecx
	jne	LBB0_13
## %bb.9:
	movl	$0, -36(%rbp)
	movq	_g_dtp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_process_aggregate@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-32(%rbp), %rsi
	leaq	-36(%rbp), %r8
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dtrace_aggregate_walk_joined
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	callq	_dfatal
	jmp	LBB0_13
LBB0_11:
	addq	%rcx, %rax
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	movq	_g_opt_s@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	callq	_print_legend
	xorl	%eax, %eax
	callq	_print_bar
	jmp	LBB0_13
LBB0_3:
	movq	_DTRACE_CONSUME_THIS@GOTPCREL(%rip), %r14
LBB0_13:
	movl	(%r14), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DTRACE_CONSUME_NEXT,4,2        ## @DTRACE_CONSUME_NEXT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n%s\n\n"

	.comm	_g_opt_s,4,2                    ## @g_opt_s
	.comm	_g_dtp,4,2                      ## @g_dtp
	.comm	_process_aggregate,4,2          ## @process_aggregate
L_.str.1:                               ## @.str.1
	.asciz	"failed to walk aggregate"

	.comm	_DTRACE_CONSUME_THIS,4,2        ## @DTRACE_CONSUME_THIS
	.no_dead_strip	_chewrec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chewrec
_chewrec:                               ; @chewrec
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	cbz	x1, LBB0_12
; %bb.1:
	ldr	x8, [x0]
	ldr	x9, [x1, #8]
	sub	x8, x8, x9
	ldr	w10, [x1]
	cmp	w10, #129
	b.eq	LBB0_10
; %bb.2:
	cmp	w10, #128
	b.ne	LBB0_13
; %bb.3:
	ldr	x9, [x0, #8]
	ldr	w10, [x9]
	cmp	w10, #2
	b.lt	LBB0_12
; %bb.4:
	mov	x2, #0
	ldr	w10, [x1, #16]
	add	x11, x1, #40
	add	x13, sp, #16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x2
	ldur	x14, [x11, #-32]
	ldr	w14, [x14, x8]
	add	x2, x2, #1
	str	w14, [x13, x12, lsl #2]
	ldrsw	x14, [x9]
	sub	x14, x14, #1
	cmp	x2, x14
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w14, [x11], #24
	cmp	w14, w10
	b.eq	LBB0_5
LBB0_7:
Lloh3:
	adrp	x8, _g_opt_s@GOTPAGE
Lloh4:
	ldr	x8, [x8, _g_opt_s@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	mov	w8, #1
	cinc	w8, w8, eq
	sub	w8, w12, w8
	cmn	w8, #1
	b.ne	LBB0_12
; %bb.8:
	str	wzr, [sp, #12]
Lloh6:
	adrp	x8, _g_dtp@GOTPAGE
Lloh7:
	ldr	x8, [x8, _g_dtp@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _process_aggregate@GOTPAGE
Lloh10:
	ldr	x8, [x8, _process_aggregate@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x1, sp, #16
	add	x4, sp, #12
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dtrace_aggregate_walk_joined
	cbz	w0, LBB0_12
; %bb.9:
Lloh12:
	adrp	x0, l_.str.1@PAGE
Lloh13:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dfatal
	b	LBB0_12
LBB0_10:
	add	x1, x8, x9
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh16:
	adrp	x8, _g_opt_s@GOTPAGE
Lloh17:
	ldr	x8, [x8, _g_opt_s@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cbnz	w8, LBB0_12
; %bb.11:
	bl	_print_legend
	bl	_print_bar
LBB0_12:
Lloh19:
	adrp	x8, _DTRACE_CONSUME_NEXT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DTRACE_CONSUME_NEXT@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh21:
	adrp	x8, _DTRACE_CONSUME_THIS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DTRACE_CONSUME_THIS@GOTPAGEOFF]
LBB0_14:
	ldr	w0, [x8]
	ldur	x8, [x29, #-8]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_DTRACE_CONSUME_NEXT,4,2        ; @DTRACE_CONSUME_NEXT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n%s\n\n"

	.comm	_g_opt_s,4,2                    ; @g_opt_s
	.comm	_g_dtp,4,2                      ; @g_dtp
	.comm	_process_aggregate,4,2          ; @process_aggregate
l_.str.1:                               ; @.str.1
	.asciz	"failed to walk aggregate"

	.comm	_DTRACE_CONSUME_THIS,4,2        ; @DTRACE_CONSUME_THIS
	.no_dead_strip	_chewrec
.subsections_via_symbols
