	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_tests@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r14), %r13
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	leaq	L_.str.3(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$10, %edi
	callq	_putchar
	movl	$1, %ebx
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	24(%r14), %r13
	addq	$24, %r14
	testq	%r13, %r13
	je	LBB0_14
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
	movq	%r13, %rdi
	callq	_strlen
	movl	8(%r14), %ecx
	movq	%r13, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	__krb5_n_fold
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r14), %rsi
	movl	8(%r14), %edx
	movq	%r15, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rsi
	movl	8(%r14), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, 8(%r14)
	jle	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	cmpl	$0, 8(%r14)
	jle	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15,%rbx), %esi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	movslq	8(%r14), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
	jmp	LBB0_12
LBB0_1:
	xorl	%ebx, %ebx
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXSIZE,4,2                    ## @MAXSIZE
	.comm	_tests,8,3                      ## @tests
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory"

L_.str.1:                               ## @.str.1
	.asciz	"n-fold(\"%s\", %d) failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"should be: "

L_.str.3:                               ## @.str.3
	.asciz	"%02x"

L_.str.4:                               ## @.str.4
	.asciz	"\nresult was: "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x8, _tests@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tests@GOTPAGEOFF]
Lloh10:
	ldr	x27, [x8]
	ldr	x26, [x27]
	cbz	x26, LBB0_13
; %bb.1:
Lloh11:
	adrp	x20, l_.str.1@PAGE
Lloh12:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh13:
	adrp	x21, l_.str.2@PAGE
Lloh14:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh15:
	adrp	x22, l_.str.3@PAGE
Lloh16:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh17:
	adrp	x23, l_.str.4@PAGE
Lloh18:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh19:
	adrp	x24, l_.str@PAGE
Lloh20:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #10
	bl	_putchar
	mov	w25, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x26, [x27, #24]!
	cbz	x26, LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	mov	x0, x26
	bl	_strlen
	mov	x1, x0
	ldr	w3, [x27, #8]
	mov	x0, x26
	mov	x2, x19
	bl	__krb5_n_fold
	mov	x25, x0
	cbz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	mov	x1, x24
	bl	_errx
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x27, #16]
	ldr	w2, [x27, #8]
	mov	x0, x19
	bl	_memcmp
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x27]
	ldr	w9, [x27, #8]
	stp	x8, x9, [sp, #-16]!
	mov	x0, x20
	bl	_printf
	add	sp, sp, #16
	mov	x0, x21
	bl	_printf
	ldr	w8, [x27, #8]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x27, #16]
	ldr	w8, [x8, x25, lsl #2]
	str	x8, [sp, #-16]!
	mov	x0, x22
	bl	_printf
	add	sp, sp, #16
	add	x25, x25, #1
	ldrsw	x8, [x27, #8]
	cmp	x25, x8
	b.lt	LBB0_9
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x23
	bl	_printf
	ldr	w8, [x27, #8]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x19, x25]
	str	x8, [sp, #-16]!
	mov	x0, x22
	bl	_printf
	add	sp, sp, #16
	add	x25, x25, #1
	ldrsw	x8, [x27, #8]
	cmp	x25, x8
	b.lt	LBB0_12
	b	LBB0_2
LBB0_13:
	mov	w25, #0
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x25
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXSIZE,4,2                    ; @MAXSIZE
	.comm	_tests,8,3                      ; @tests
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory"

l_.str.1:                               ; @.str.1
	.asciz	"n-fold(\"%s\", %d) failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"should be: "

l_.str.3:                               ; @.str.3
	.asciz	"%02x"

l_.str.4:                               ; @.str.4
	.asciz	"\nresult was: "

.subsections_via_symbols
