	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function main_log
_main_log:                              ## @main_log
	.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
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	(%rdi), %r13
	movq	(%r13), %r12
	movq	8(%r13), %rbx
	movl	16(%r13), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	24(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%r15, %rsi
	callq	_main_log_clear_line
LBB0_2:
	xorl	%eax, %eax
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	cmovneq	%rbx, %rax
	movq	%rax, 24(%r13)
	cmpl	$131, %r14d
	je	LBB0_5
## %bb.3:
	cmpl	$130, %r14d
	je	LBB0_7
## %bb.4:
	cmpl	$128, %r14d
	jne	LBB0_8
LBB0_5:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	movl	$5, %esi
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fwrite
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fwrite
	leaq	L_.str.2(%rip), %rdi
	movl	$4, %esi
	jmp	LBB0_9
LBB0_8:
	movq	%r12, %rdi
	movq	%rbx, %rsi
LBB0_9:
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fwrite
	cmpl	$1, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_12
## %bb.10:
	movq	_EOL@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fwrite
	cmpl	$130, %r14d
	jne	LBB0_12
## %bb.11:
	movq	(%r12), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	movq	%r15, %rcx
	callq	_fwrite
LBB0_12:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fflush                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\033[33m"

L_.str.1:                               ## @.str.1
	.asciz	"\033[31m"

L_.str.2:                               ## @.str.2
	.asciz	"\033[0m"

	.comm	_EOL,8,3                        ## @EOL
	.comm	_FOREGROUND_INTENSITY,4,2       ## @FOREGROUND_INTENSITY
	.comm	_FOREGROUND_RED,4,2             ## @FOREGROUND_RED
	.comm	_STD_OUTPUT_HANDLE,4,2          ## @STD_OUTPUT_HANDLE
	.no_dead_strip	_main_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function main_log
_main_log:                              ; @main_log
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	ldr	x24, [x0]
	ldp	x22, x21, [x24]
	ldr	w23, [x24, #16]
	ldr	x0, [x24, #24]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x19
	bl	_main_log_clear_line
LBB0_2:
	cmp	w23, #1
	csel	x8, xzr, x21, eq
	str	x8, [x24, #24]
	cmp	w20, #131
	b.eq	LBB0_5
; %bb.3:
	cmp	w20, #130
	b.eq	LBB0_6
; %bb.4:
	cmp	w20, #128
	b.ne	LBB0_8
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_7:
	mov	w1, #5
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	mov	x0, x22
	mov	x1, x21
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #4
	b	LBB0_9
LBB0_8:
	mov	x0, x22
	mov	x1, x21
LBB0_9:
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	cmp	w23, #1
	b.ne	LBB0_12
; %bb.10:
Lloh6:
	adrp	x22, _EOL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _EOL@GOTPAGEOFF]
	ldr	x21, [x22]
	mov	x0, x21
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x21
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
	cmp	w20, #130
	b.ne	LBB0_12
; %bb.11:
	ldr	x20, [x22]
	mov	x0, x20
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x1, w0
	mov	x0, x20
	mov	w2, #1
	mov	x3, x19
	bl	_fwrite
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fflush
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\033[33m"

l_.str.1:                               ; @.str.1
	.asciz	"\033[31m"

l_.str.2:                               ; @.str.2
	.asciz	"\033[0m"

	.comm	_EOL,8,3                        ; @EOL
	.comm	_FOREGROUND_INTENSITY,4,2       ; @FOREGROUND_INTENSITY
	.comm	_FOREGROUND_RED,4,2             ; @FOREGROUND_RED
	.comm	_STD_OUTPUT_HANDLE,4,2          ; @STD_OUTPUT_HANDLE
	.no_dead_strip	_main_log
.subsections_via_symbols
