	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function format_line
_format_line:                           ## @format_line
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r13
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	testq	%rdi, %rdi
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_1
## %bb.2:
	movq	(%r12), %r14
	jmp	LBB0_3
LBB0_1:
	xorl	%r14d, %r14d
LBB0_3:
	movq	_AV_BPRINT_SIZE_AUTOMATIC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	leaq	16(%r13), %rdi
	movl	(%rbx), %edx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_av_bprint_init
	leaq	32(%r13), %rdi
	movl	(%rbx), %edx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	callq	_av_bprint_init
	leaq	48(%r13), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$65536, %edx                    ## imm = 0x10000
	callq	_av_bprint_init
	movq	16(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	_AV_CLASS_CATEGORY_NA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	$16, %eax
	movl	%eax, 4(%rcx)
	movl	%eax, (%rcx)
LBB0_5:
	cmpl	$0, (%r15)
	je	LBB0_15
## %bb.6:
	testq	%r14, %r14
	je	LBB0_15
## %bb.7:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movslq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	(%r12,%rax,4), %r15
	testq	%r15, %r15
	je	LBB0_12
## %bb.9:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movq	%r15, %rdi
	callq	*8(%rax)
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_av_bprintf
	movq	16(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	%r15, %rdi
	movq	%rax, %r15
	callq	_get_category
	movl	%eax, (%r15)
LBB0_12:
	movq	%r12, %rdi
	callq	*8(%r14)
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_av_bprintf
	movq	16(%rbp), %rax
	testq	%rax, %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_15
## %bb.13:
	movq	%r12, %rdi
	movq	%rax, %r14
	callq	_get_category
	movl	%eax, 4(%r14)
LBB0_15:
	cmpl	$0, (%r15)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	je	LBB0_19
## %bb.16:
	movq	_AV_LOG_QUIET@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jge	LBB0_19
## %bb.17:
	movq	_flags@GOTPCREL(%rip), %rax
	movq	_AV_LOG_PRINT_LEVEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_19
## %bb.18:
	callq	_get_level_str
	leaq	L_.str.1(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_av_bprintf
LBB0_19:
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_av_vbprintf
	movq	(%r13), %rax
	cmpb	$0, (%rax)
	jne	LBB0_23
## %bb.20:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	jne	LBB0_23
## %bb.21:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	jne	LBB0_23
## %bb.22:
	movq	(%rbx), %rax
	cmpb	$0, (%rax)
	je	LBB0_27
LBB0_23:
	movslq	56(%r13), %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	je	LBB0_26
## %bb.24:
	cmpl	60(%r13), %ecx
	jg	LBB0_26
## %bb.25:
	movq	(%rbx), %rax
	movsbl	-1(%rcx,%rax), %eax
LBB0_26:
	cmpl	$10, %eax
	sete	%cl
	cmpl	$13, %eax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	movl	%eax, (%r15)
LBB0_27:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r12, %rdi
	callq	*8(%r14)
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_av_bprintf
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ## @AV_BPRINT_SIZE_AUTOMATIC
	.comm	_AV_CLASS_CATEGORY_NA,4,2       ## @AV_CLASS_CATEGORY_NA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%s @ %p] "

	.comm	_AV_LOG_QUIET,4,2               ## @AV_LOG_QUIET
	.comm	_flags,4,2                      ## @flags
	.comm	_AV_LOG_PRINT_LEVEL,4,2         ## @AV_LOG_PRINT_LEVEL
L_.str.1:                               ## @.str.1
	.asciz	"[%s] "

	.no_dead_strip	_format_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function format_line
_format_line:                           ; @format_line
	.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
	mov	x27, x6
	mov	x19, x5
	mov	x20, x4
	str	w3, [sp, #28]                   ; 4-byte Folded Spill
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	x25, x1
	mov	x28, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x22, [x28]
	b	LBB0_3
LBB0_2:
	mov	x22, #0
LBB0_3:
Lloh0:
	adrp	x21, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AV_BPRINT_SIZE_AUTOMATIC@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	bl	_av_bprint_init
	add	x24, x20, #16
	ldr	w2, [x21]
	mov	x0, x24
	mov	w1, #0
	bl	_av_bprint_init
	add	x26, x20, #32
	ldr	w2, [x21]
	mov	x0, x26
	mov	w1, #0
	bl	_av_bprint_init
	add	x23, x20, #48
	mov	x0, x23
	mov	w1, #0
	mov	w2, #65536
	bl	_av_bprint_init
	cbz	x27, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _AV_CLASS_CATEGORY_NA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_CLASS_CATEGORY_NA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	add	w8, w8, #16
	stp	w8, w8, [x27]
LBB0_5:
	ldr	w8, [x19]
	cbz	w8, LBB0_14
; %bb.6:
	cbz	x22, LBB0_14
; %bb.7:
	ldrsw	x8, [x22]
	cbz	w8, LBB0_12
; %bb.8:
	lsl	x8, x8, #2
	ldr	x21, [x28, x8]
	cbz	x21, LBB0_12
; %bb.9:
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.10:
	ldr	x8, [x8, #8]
	mov	x0, x21
	blr	x8
	mov	x2, x0
	str	x21, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_av_bprintf
	cbz	x27, LBB0_28
; %bb.11:
	mov	x0, x21
	bl	_get_category
	str	w0, [x27]
LBB0_12:
	ldr	x8, [x22, #8]
	mov	x0, x28
	blr	x8
	mov	x2, x0
	str	x28, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_av_bprintf
	cbz	x27, LBB0_14
; %bb.13:
	mov	x0, x28
	bl	_get_category
	str	w0, [x27, #4]
LBB0_14:
	ldr	w8, [x19]
	cbz	w8, LBB0_18
LBB0_15:
Lloh9:
	adrp	x8, _AV_LOG_QUIET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_LOG_QUIET@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w25
	b.ge	LBB0_18
; %bb.16:
Lloh12:
	adrp	x8, _flags@GOTPAGE
Lloh13:
	ldr	x8, [x8, _flags@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _AV_LOG_PRINT_LEVEL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _AV_LOG_PRINT_LEVEL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x25
	bl	_get_level_str
	mov	x2, x0
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x26
	bl	_av_bprintf
LBB0_18:
	mov	x0, x23
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w2, [sp, #28]                   ; 4-byte Folded Reload
	bl	_av_vbprintf
	ldr	x8, [x20]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_22
; %bb.19:
	ldr	x8, [x24]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_22
; %bb.20:
	ldr	x8, [x26]
	ldrb	w8, [x8]
	cbnz	w8, LBB0_22
; %bb.21:
	ldr	x8, [x23]
	ldrb	w8, [x8]
	cbz	w8, LBB0_27
LBB0_22:
	ldrsw	x8, [x20, #56]
	cbz	w8, LBB0_26
; %bb.23:
	ldr	w9, [x20, #60]
	cmp	w8, w9
	b.le	LBB0_25
; %bb.24:
	mov	w8, #0
	b	LBB0_26
LBB0_25:
	ldr	x9, [x23]
	add	x8, x8, x9
	ldursb	w8, [x8, #-1]
LBB0_26:
	cmp	w8, #10
	ccmp	w8, #13, #4, ne
	cset	w8, eq
	str	w8, [x19]
LBB0_27:
	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
LBB0_28:
	ldr	x8, [x22, #8]
	mov	x0, x28
	blr	x8
	mov	x2, x0
	str	x28, [sp]
Lloh20:
	adrp	x1, l_.str@PAGE
Lloh21:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_av_bprintf
	ldr	w8, [x19]
	cbnz	w8, LBB0_15
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_BPRINT_SIZE_AUTOMATIC,4,2   ; @AV_BPRINT_SIZE_AUTOMATIC
	.comm	_AV_CLASS_CATEGORY_NA,4,2       ; @AV_CLASS_CATEGORY_NA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%s @ %p] "

	.comm	_AV_LOG_QUIET,4,2               ; @AV_LOG_QUIET
	.comm	_flags,4,2                      ; @flags
	.comm	_AV_LOG_PRINT_LEVEL,4,2         ; @AV_LOG_PRINT_LEVEL
l_.str.1:                               ; @.str.1
	.asciz	"[%s] "

	.no_dead_strip	_format_line
.subsections_via_symbols
