	.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	%r12
	pushq	%rbx
	subq	$304, %rsp                      ## imm = 0x130
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	l___const.main.testtime+8(%rip), %eax
	movl	%eax, -328(%rbp)
	movq	l___const.main.testtime(%rip), %rax
	movq	%rax, -336(%rbp)
	movq	_AV_BPRINT_SIZE_UNLIMITED@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-320(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_bprint_pascal
	movq	-320(%rbp), %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	-320(%rbp), %rdi
	callq	_puts
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	movq	%rbx, %rdi
	movl	$25, %esi
	callq	_bprint_pascal
	movq	-320(%rbp), %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_av_bprint_init
	movq	%rbx, %rdi
	movl	$25, %esi
	callq	_bprint_pascal
	movq	-320(%rbp), %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
	movq	_AV_BPRINT_SIZE_AUTOMATIC@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	movq	%rbx, %rdi
	movl	$5, %esi
	callq	_bprint_pascal
	movq	-320(%rbp), %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	movq	%rbx, %rdi
	movl	$25, %esi
	callq	_bprint_pascal
	movq	-320(%rbp), %rdi
	callq	_strlen
	andl	$-8, %eax
	movl	-312(%rbp), %edx
	leaq	L_.str.5(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	_AV_BPRINT_SIZE_COUNT_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	movq	%rbx, %rdi
	movl	$25, %esi
	callq	_bprint_pascal
	movq	-320(%rbp), %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	leaq	L_.str.6(%rip), %r15
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	leaq	-304(%rbp), %r14
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$256, %edx                      ## imm = 0x100
	callq	_av_bprint_init_for_buffer
	movq	%rbx, %rdi
	movl	$25, %esi
	callq	_bprint_pascal
	movq	%r14, %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	leaq	L_.str.7(%rip), %r15
	leaq	-336(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_av_bprint_strftime
	movq	%r14, %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	movq	-320(%rbp), %rcx
	leaq	L_.str.8(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_av_bprint_init
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_av_bprint_strftime
	movq	%r14, %rdi
	callq	_strlen
	movl	-312(%rbp), %edx
	movq	-320(%rbp), %rcx
	leaq	L_.str.9(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	addq	$304, %rsp                      ## imm = 0x130
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.main.testtime
l___const.main.testtime:
	.long	100                             ## 0x64
	.long	11                              ## 0xb
	.long	20                              ## 0x14

	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ## @AV_BPRINT_SIZE_UNLIMITED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Short text in unlimited buffer: %u/%u\n"

L_.str.2:                               ## @.str.2
	.asciz	"Long text in unlimited buffer: %u/%u\n"

L_.str.3:                               ## @.str.3
	.asciz	"Long text in limited buffer: %u/%u\n"

	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ## @AV_BPRINT_SIZE_AUTOMATIC
L_.str.4:                               ## @.str.4
	.asciz	"Short text in automatic buffer: %u/%u\n"

L_.str.5:                               ## @.str.5
	.asciz	"Long text in automatic buffer: %u/%u\n"

	.comm	_AV_BPRINT_SIZE_COUNT_ONLY,4,2  ## @AV_BPRINT_SIZE_COUNT_ONLY
L_.str.6:                               ## @.str.6
	.asciz	"Long text count only buffer: %u/%u\n"

L_.str.7:                               ## @.str.7
	.asciz	"%Y-%m-%d"

L_.str.8:                               ## @.str.8
	.asciz	"strftime full: %u/%u \"%s\"\n"

L_.str.9:                               ## @.str.9
	.asciz	"strftime truncated: %u/%u \"%s\"\n"

.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, #368
	.cfi_def_cfa_offset 368
	stp	x28, x27, [sp, #320]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #336]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #352]            ; 16-byte Folded Spill
	add	x29, sp, #352
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, l___const.main.testtime@PAGE
Lloh4:
	add	x8, x8, l___const.main.testtime@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #24]
	ldr	w8, [x8, #8]
	str	w8, [sp, #32]
Lloh5:
	adrp	x20, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGE
Lloh6:
	ldr	x20, [x20, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x0, sp, #40
	mov	w1, #0
	bl	_av_bprint_init
	add	x0, sp, #40
	mov	w1, #5
	bl	_bprint_pascal
	ldr	x0, [sp, #40]
	bl	_strlen
	ldr	w8, [sp, #48]
	stp	x0, x8, [sp]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	x0, [sp, #40]
	bl	_puts
	add	x0, sp, #40
	mov	x1, #0
	bl	_av_bprint_finalize
	ldr	w2, [x20]
	add	x0, sp, #40
	mov	w1, #0
	bl	_av_bprint_init
	add	x0, sp, #40
	mov	w1, #25
	bl	_bprint_pascal
	ldr	x0, [sp, #40]
	bl	_strlen
	ldr	w8, [sp, #48]
	stp	x0, x8, [sp]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	add	x0, sp, #40
	mov	x1, #0
	bl	_av_bprint_finalize
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #2048
	bl	_av_bprint_init
	add	x0, sp, #40
	mov	w1, #25
	bl	_bprint_pascal
	ldr	x0, [sp, #40]
	bl	_strlen
	ldr	w8, [sp, #48]
	stp	x0, x8, [sp]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	add	x0, sp, #40
	mov	x1, #0
	bl	_av_bprint_finalize
Lloh13:
	adrp	x19, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGE
Lloh14:
	ldr	x19, [x19, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGEOFF]
	ldr	w2, [x19]
	add	x0, sp, #40
	mov	w1, #0
	bl	_av_bprint_init
	add	x0, sp, #40
	mov	w1, #5
	bl	_bprint_pascal
	ldr	x0, [sp, #40]
	bl	_strlen
	ldr	w8, [sp, #48]
	stp	x0, x8, [sp]
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	ldr	w2, [x19]
	add	x0, sp, #40
	mov	w1, #0
	bl	_av_bprint_init
	add	x0, sp, #40
	mov	w1, #25
	bl	_bprint_pascal
	ldr	x0, [sp, #40]
	bl	_strlen
	and	w8, w0, #0xfffffff8
	ldr	w9, [sp, #48]
	stp	x8, x9, [sp]
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
Lloh19:
	adrp	x8, _AV_BPRINT_SIZE_COUNT_ONLY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_BPRINT_SIZE_COUNT_ONLY@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x0, sp, #40
	mov	w1, #0
	bl	_av_bprint_init
	add	x0, sp, #40
	mov	w1, #25
	bl	_bprint_pascal
	ldr	x0, [sp, #40]
	bl	_strlen
	ldr	w8, [sp, #48]
	stp	x0, x8, [sp]
Lloh22:
	adrp	x19, l_.str.6@PAGE
Lloh23:
	add	x19, x19, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_printf
	add	x0, sp, #40
	add	x1, sp, #56
	mov	w2, #256
	bl	_av_bprint_init_for_buffer
	add	x0, sp, #40
	mov	w1, #25
	bl	_bprint_pascal
	add	x0, sp, #56
	bl	_strlen
	ldr	w8, [sp, #48]
	stp	x0, x8, [sp]
	mov	x0, x19
	bl	_printf
	ldr	w2, [x20]
	add	x0, sp, #40
	mov	w1, #0
	bl	_av_bprint_init
Lloh24:
	adrp	x19, l_.str.7@PAGE
Lloh25:
	add	x19, x19, l_.str.7@PAGEOFF
	add	x0, sp, #40
	add	x2, sp, #24
	mov	x1, x19
	bl	_av_bprint_strftime
	add	x0, sp, #56
	bl	_strlen
	ldr	x8, [sp, #40]
	ldr	w9, [sp, #48]
	stp	x9, x8, [sp, #8]
	str	x0, [sp]
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	add	x0, sp, #40
	mov	x1, #0
	bl	_av_bprint_finalize
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #8
	bl	_av_bprint_init
	add	x0, sp, #40
	add	x2, sp, #24
	mov	x1, x19
	bl	_av_bprint_strftime
	add	x0, sp, #56
	bl	_strlen
	ldr	x8, [sp, #40]
	ldr	w9, [sp, #48]
	stp	x9, x8, [sp, #8]
	str	x0, [sp]
Lloh28:
	adrp	x0, l_.str.9@PAGE
Lloh29:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_printf
	ldur	x8, [x29, #-40]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp, #352]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #336]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #320]            ; 16-byte Folded Reload
	add	sp, sp, #368
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.main.testtime
l___const.main.testtime:
	.long	100                             ; 0x64
	.long	11                              ; 0xb
	.long	20                              ; 0x14

	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ; @AV_BPRINT_SIZE_UNLIMITED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Short text in unlimited buffer: %u/%u\n"

l_.str.2:                               ; @.str.2
	.asciz	"Long text in unlimited buffer: %u/%u\n"

l_.str.3:                               ; @.str.3
	.asciz	"Long text in limited buffer: %u/%u\n"

	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ; @AV_BPRINT_SIZE_AUTOMATIC
l_.str.4:                               ; @.str.4
	.asciz	"Short text in automatic buffer: %u/%u\n"

l_.str.5:                               ; @.str.5
	.asciz	"Long text in automatic buffer: %u/%u\n"

	.comm	_AV_BPRINT_SIZE_COUNT_ONLY,4,2  ; @AV_BPRINT_SIZE_COUNT_ONLY
l_.str.6:                               ; @.str.6
	.asciz	"Long text count only buffer: %u/%u\n"

l_.str.7:                               ; @.str.7
	.asciz	"%Y-%m-%d"

l_.str.8:                               ; @.str.8
	.asciz	"strftime full: %u/%u \"%s\"\n"

l_.str.9:                               ; @.str.9
	.asciz	"strftime truncated: %u/%u \"%s\"\n"

.subsections_via_symbols
