	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump                           ## -- Begin function dump
	.p2align	4, 0x90
_dump:                                  ## @dump
	.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
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.1:
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	_mode@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %r14
	movq	_total_out@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, (%rbx)
	movl	%eax, 4(%rbx)
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	movl	%r12d, %esi
	callq	_dump
	movl	(%rbx), %r12d
	movq	16(%rbx), %rax
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_23
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_assert
	movl	(%rbx), %edi
	callq	_assert
	cmpl	%r12d, (%rbx)
	je	LBB0_22
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_count
	cmpl	4(%rbx), %eax
	jae	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %ecx
	cmpl	%r12d, %ecx
	je	LBB0_22
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %eax
	cmpl	$-1, %ecx
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %eax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	je	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	jne	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	movl	%ecx, %eax
	shrl	$8, %eax
	movsbl	%al, %eax
	movsbl	%cl, %r8d
	jmp	LBB0_11
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	$-3, %eax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %eax
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	sarl	$24, %eax
	movl	%ecx, %edi
	shrl	$16, %edi
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	movsbl	%dil, %r8d
	testb	%cl, %cl
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %edi
	shrl	$8, %edi
	movsbl	%dil, %r9d
	movsbl	%cl, %ecx
	movl	%ecx, (%rsp)
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_21
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%eax, %ecx
	jmp	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	jmp	LBB0_21
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	8(%rbx), %esi
	movl	12(%rbx), %edx
	movq	%r14, %rdi
	movl	$63, %ecx
	movl	$63, %r8d
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_printf
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	(%r13)
	movl	(%rbx), %r12d
	jmp	LBB0_22
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mode,4,2                       ## @mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u %d %c%c\n"

L_.str.1:                               ## @.str.1
	.asciz	"%u %d %02d\n"

L_.str.2:                               ## @.str.2
	.asciz	"%u %d %c%c/%c%c\n"

L_.str.3:                               ## @.str.3
	.asciz	"%u %d 00\n"

	.comm	_total_out,4,2                  ## @total_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dump                           ; -- Begin function dump
	.p2align	2
_dump:                                  ; @dump
	.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
	cbz	x0, LBB0_25
; %bb.1:
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _mode@GOTPAGE
Lloh1:
	ldr	x25, [x25, _mode@GOTPAGEOFF]
	mov	w26, #63
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
Lloh4:
	adrp	x21, l_.str.3@PAGE
Lloh5:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh6:
	adrp	x27, _total_out@GOTPAGE
Lloh7:
	ldr	x27, [x27, _total_out@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str.2@PAGE
Lloh9:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh10:
	adrp	x23, l_.str.1@PAGE
Lloh11:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	stp	w24, w0, [x19]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #24]
	mov	x1, x24
	bl	_dump
	ldr	x8, [x19, #16]
	ldr	w24, [x19]
	mov	x19, x8
	cbz	x8, LBB0_25
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_assert
	ldr	w0, [x19]
	bl	_assert
	ldr	w8, [x19]
	cmp	w8, w24
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_count
	ldr	w8, [x19, #4]
	cmp	w0, w8
	b.hs	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	cmp	w8, w24
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x25]
	cmn	w8, #1
	b.eq	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #2
	b.eq	LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #1
	b.eq	LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w9, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w2, [x19, #8]
	sbfx	w9, w8, #8, #8
	sxtb	w8, w8
	str	x8, [sp, #8]
	b	LBB0_21
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	tst	w9, #0xfffffffd
	b.eq	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #1
	b.ne	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w2, [x19, #8]
	mov	x0, x21
	b	LBB0_23
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	bl	_assert
	b	LBB0_24
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w2, [x19, #8]
	asr	w9, w8, #24
	sbfx	w10, w8, #16, #8
	tst	w8, #0xff
	b.eq	LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	sbfx	w11, w8, #8, #8
	sxtb	w8, w8
	stp	x9, x10, [sp]
	stp	x11, x8, [sp, #16]
	mov	x0, x22
	b	LBB0_23
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w2, [x19, #8]
	str	x8, [sp]
	mov	x0, x23
	b	LBB0_23
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w1, w2, [x19, #8]
	stp	x26, x26, [sp]
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	str	x10, [sp, #8]
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x9, [sp]
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_printf
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	ldr	w24, [x19]
	b	LBB0_3
LBB0_25:
	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 AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mode,4,2                       ; @mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u %d %c%c\n"

l_.str.1:                               ; @.str.1
	.asciz	"%u %d %02d\n"

l_.str.2:                               ; @.str.2
	.asciz	"%u %d %c%c/%c%c\n"

l_.str.3:                               ; @.str.3
	.asciz	"%u %d 00\n"

	.comm	_total_out,4,2                  ; @total_out
.subsections_via_symbols
