	.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	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_av_log_set_level
	movq	_use_color@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_AV_LOG_QUIET@GOTPCREL(%rip), %rbx
	movq	_AV_LOG_INFO@GOTPCREL(%rip), %r13
	xorl	%ecx, %ecx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_AV_LOG_PANIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str.5(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_use_color@GOTPCREL(%rip), %rsi
	movl	(%rsi), %eax
	movl	%eax, %edx
	shll	$8, %edx
	subl	%eax, %edx
	leal	1(%rdx), %ecx
	movl	%ecx, (%rsi)
	cmpl	$256, %edx                      ## imm = 0x100
	jge	LBB0_4
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	_AV_LOG_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	(%rbx), %r15d
	leaq	L_.str.1(%rip), %r12
	leaq	L_.str.4(%rip), %r14
	jl	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	xorl	%edi, %edi
	movl	%r15d, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movl	(%r13), %esi
	xorl	%edi, %edi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	leal	31488(%r15), %esi
	xorl	%edi, %edi
	leaq	L_.str.3(%rip), %rdx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movl	(%r13), %esi
	xorl	%edi, %edi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_av_log
	addl	$-8, %r15d
	cmpl	(%rbx), %r15d
	jge	LBB0_2
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.6(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_call_log_format_line2
	cmpl	$3, %eax
	jne	LBB0_5
## %bb.7:
	leaq	L_.str.6(%rip), %rdi
	leaq	-44(%rbp), %rsi
	movl	$2, %edx
	callq	_call_log_format_line2
	cmpl	$3, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.8(%rip), %rsi
	leaq	-44(%rbp), %rdi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_10
LBB0_9:
	leaq	L_str.11(%rip), %rdi
	jmp	LBB0_6
LBB0_5:
	leaq	L_str.12(%rip), %rdi
LBB0_6:
	callq	_puts
	movl	$1, %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	leaq	L_.str.6(%rip), %rdi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_call_log_format_line2
	cmpl	$3, %eax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.6(%rip), %rsi
	leaq	-44(%rbp), %rdi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_13
LBB0_12:
	leaq	L_str(%rip), %rdi
	jmp	LBB0_6
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.comm	_use_color,4,2                  ## @use_color
	.comm	_AV_LOG_FATAL,4,2               ## @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"use_color: %d\n"

	.comm	_AV_LOG_QUIET,4,2               ## @AV_LOG_QUIET
L_.str.1:                               ## @.str.1
	.asciz	" %d"

	.comm	_AV_LOG_INFO,4,2                ## @AV_LOG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"e "

L_.str.3:                               ## @.str.3
	.asciz	"C%d"

L_.str.4:                               ## @.str.4
	.asciz	"e"

	.comm	_AV_LOG_PANIC,4,2               ## @AV_LOG_PANIC
L_.str.5:                               ## @.str.5
	.asciz	"\n"

L_.str.6:                               ## @.str.6
	.asciz	"foo"

L_.str.8:                               ## @.str.8
	.asciz	"f"

L_str:                                  ## @str
	.asciz	"Test buffer sufficiently big failed."

L_str.11:                               ## @str.11
	.asciz	"Test buffer too small failed."

L_str.12:                               ## @str.12
	.asciz	"Test NULL buffer failed."

.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_av_log_set_level
	mov	w8, #0
Lloh3:
	adrp	x27, _use_color@GOTPAGE
Lloh4:
	ldr	x27, [x27, _use_color@GOTPAGEOFF]
Lloh5:
	adrp	x26, _AV_LOG_QUIET@GOTPAGE
Lloh6:
	ldr	x26, [x26, _AV_LOG_QUIET@GOTPAGEOFF]
Lloh7:
	adrp	x20, l_.str.5@PAGE
Lloh8:
	add	x20, x20, l_.str.5@PAGEOFF
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh11:
	adrp	x19, _AV_LOG_INFO@GOTPAGE
Lloh12:
	ldr	x19, [x19, _AV_LOG_INFO@GOTPAGEOFF]
Lloh13:
	adrp	x22, l_.str.2@PAGE
Lloh14:
	add	x22, x22, l_.str.2@PAGEOFF
	str	wzr, [x27]
	mov	w28, #31488
Lloh15:
	adrp	x23, l_.str.3@PAGE
Lloh16:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh17:
	adrp	x24, l_.str.4@PAGE
Lloh18:
	add	x24, x24, l_.str.4@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh19:
	adrp	x8, _AV_LOG_PANIC@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AV_LOG_PANIC@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, #0
	mov	x2, x20
	bl	_av_log
	ldr	w8, [x27]
	lsl	w9, w8, #8
	sub	w9, w9, w8
	add	w8, w9, #1
	str	w8, [x27]
	cmp	w9, #256
	b.ge	LBB0_4
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
Lloh22:
	adrp	x9, _AV_LOG_FATAL@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AV_LOG_FATAL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x9]
	str	x8, [sp]
	mov	x0, #0
Lloh25:
	adrp	x2, l_.str@PAGE
Lloh26:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
Lloh27:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh28:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh29:
	ldr	w25, [x8]
	ldr	w8, [x26]
	cmp	w25, w8
	b.lt	LBB0_1
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x25, [sp]
	mov	x0, #0
	mov	x1, x25
	mov	x2, x21
	bl	_av_log
	ldr	w1, [x19]
	mov	x0, #0
	mov	x2, x22
	bl	_av_log
	add	w1, w25, w28
	str	x25, [sp]
	mov	x0, #0
	mov	x2, x23
	bl	_av_log
	ldr	w1, [x19]
	mov	x0, #0
	mov	x2, x24
	bl	_av_log
	ldr	w8, [x26]
	sub	w25, w25, #8
	cmp	w25, w8
	b.ge	LBB0_3
	b	LBB0_1
LBB0_4:
Lloh30:
	adrp	x0, l_.str.6@PAGE
Lloh31:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, #0
	mov	w2, #0
	bl	_call_log_format_line2
	cmp	w0, #3
	b.ne	LBB0_8
; %bb.5:
Lloh32:
	adrp	x0, l_.str.6@PAGE
Lloh33:
	add	x0, x0, l_.str.6@PAGEOFF
	add	x1, sp, #12
	mov	w2, #2
	bl	_call_log_format_line2
	cmp	w0, #3
	b.ne	LBB0_7
; %bb.6:
Lloh34:
	adrp	x1, l_.str.8@PAGE
Lloh35:
	add	x1, x1, l_.str.8@PAGEOFF
	add	x0, sp, #12
	mov	w2, #2
	bl	_strncmp
	cbz	x0, LBB0_11
LBB0_7:
Lloh36:
	adrp	x0, l_str.11@PAGE
Lloh37:
	add	x0, x0, l_str.11@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh38:
	adrp	x0, l_str.12@PAGE
Lloh39:
	add	x0, x0, l_str.12@PAGEOFF
LBB0_9:
	bl	_puts
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
Lloh40:
	adrp	x0, l_.str.6@PAGE
Lloh41:
	add	x0, x0, l_.str.6@PAGEOFF
	add	x1, sp, #12
	mov	w2, #4
	bl	_call_log_format_line2
	cmp	w0, #3
	b.ne	LBB0_13
; %bb.12:
Lloh42:
	adrp	x1, l_.str.6@PAGE
Lloh43:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #12
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_10
LBB0_13:
Lloh44:
	adrp	x0, l_str@PAGE
Lloh45:
	add	x0, x0, l_str@PAGEOFF
	b	LBB0_9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.comm	_use_color,4,2                  ; @use_color
	.comm	_AV_LOG_FATAL,4,2               ; @AV_LOG_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"use_color: %d\n"

	.comm	_AV_LOG_QUIET,4,2               ; @AV_LOG_QUIET
l_.str.1:                               ; @.str.1
	.asciz	" %d"

	.comm	_AV_LOG_INFO,4,2                ; @AV_LOG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"e "

l_.str.3:                               ; @.str.3
	.asciz	"C%d"

l_.str.4:                               ; @.str.4
	.asciz	"e"

	.comm	_AV_LOG_PANIC,4,2               ; @AV_LOG_PANIC
l_.str.5:                               ; @.str.5
	.asciz	"\n"

l_.str.6:                               ; @.str.6
	.asciz	"foo"

l_.str.8:                               ; @.str.8
	.asciz	"f"

l_str:                                  ; @str
	.asciz	"Test buffer sufficiently big failed."

l_str.11:                               ; @str.11
	.asciz	"Test buffer too small failed."

l_str.12:                               ; @str.12
	.asciz	"Test NULL buffer failed."

.subsections_via_symbols
