	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_LEN@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	$0, (%r13)
	je	LBB0_3
LBB0_4:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	leaq	-64(%rbp), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movq	(%r13), %rax
	cmpq	%rax, %rbx
	jae	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$16, %esi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_snprintf
	movq	%r12, %rdi
	callq	_strdup
	movq	%rax, (%r14,%rbx,8)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	cmpq	$0, (%r13)
	jne	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_8:
	movq	___ps_strings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%r14, (%rdx)
	movq	(%rcx), %rcx
	movq	%rax, 8(%rcx)
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_UINT_MAX@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_sleep
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_LEN,8,3                        ## @LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"calloc failed"

L_.str.1:                               ## @.str.1
	.asciz	"arg%04zx"

L_.str.2:                               ## @.str.2
	.asciz	"strdup failed"

	.comm	___ps_strings,8,3               ## @__ps_strings
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
L_str:                                  ## @str
	.asciz	"Sleeping forever..."

.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x23, _LEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _LEN@GOTPAGEOFF]
	ldr	x0, [x23]
	mov	w1, #8
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x23]
	cbnz	x8, LBB0_3
	b	LBB0_7
LBB0_2:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x8, [x23]
	cbz	x8, LBB0_7
LBB0_3:
	mov	x20, #0
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldr	x8, [x23]
	cmp	x20, x8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	w1, #16
	mov	x2, x21
	mov	x3, x20
	bl	_snprintf
	mov	x0, sp
	bl	_strdup
	str	x0, [x19, x20, lsl #3]
	cbnz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	x1, x22
	bl	_errx
	b	LBB0_4
LBB0_7:
Lloh8:
	adrp	x9, ___ps_strings@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___ps_strings@GOTPAGEOFF]
	ldr	x10, [x9]
	str	x19, [x10]
	ldr	x9, [x9]
	str	x8, [x9, #8]
Lloh10:
	adrp	x0, l_str@PAGE
Lloh11:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh12:
	adrp	x19, _UINT_MAX@GOTPAGE
Lloh13:
	ldr	x19, [x19, _UINT_MAX@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	bl	_sleep
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LEN,8,3                        ; @LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"calloc failed"

l_.str.1:                               ; @.str.1
	.asciz	"arg%04zx"

l_.str.2:                               ; @.str.2
	.asciz	"strdup failed"

	.comm	___ps_strings,8,3               ; @__ps_strings
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
l_str:                                  ; @str
	.asciz	"Sleeping forever..."

.subsections_via_symbols
