	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_log                      ## -- Begin function parse_log
	.p2align	4, 0x90
_parse_log:                             ## @parse_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rdi, %r12
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	(%r12), %rdi
	movl	%r14d, %edx
	callq	_pre_process_log
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	setne	%al
	jmp	LBB0_13
LBB0_2:
	xorl	%eax, %eax
	callq	_verify_formats
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	callq	_FATAL
LBB0_4:
	movq	_conf@GOTPCREL(%rip), %r15
	cmpq	$0, 24(%r15)
	movl	(%r15), %eax
	je	LBB0_7
## %bb.5:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	cmpl	$0, 16(%r15)
	jne	LBB0_7
## %bb.14:
	movq	(%r12), %rax
	movl	$1, (%rax)
	jmp	LBB0_12
LBB0_7:
	testl	%eax, %eax
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_read_log
	testq	%rax, %rax
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_9
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	$1, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_conf,32,3                      ## @conf
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_log                      ; -- Begin function parse_log
	.p2align	2
_parse_log:                             ; @parse_log
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x0
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x0, [x20]
	mov	x2, x19
	bl	_pre_process_log
	cmp	x0, #0
	cset	w0, ne
	b	LBB0_12
LBB0_2:
	bl	_verify_formats
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FATAL
LBB0_4:
Lloh2:
	adrp	x21, _conf@GOTPAGE
Lloh3:
	ldr	x21, [x21, _conf@GOTPAGEOFF]
	ldr	x9, [x21, #24]
	ldr	w8, [x21]
	ldr	w10, [x21, #16]
	cmp	x9, #0
	ccmp	w8, #0, #0, ne
	ccmp	w10, #0, #0, eq
	b.eq	LBB0_10
; %bb.5:
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x22, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x1, [x8, x22, lsl #3]
	mov	x0, x20
	mov	x2, x19
	bl	_read_log
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_7
LBB0_9:
	mov	w0, #0
	b	LBB0_12
LBB0_10:
	mov	w0, #0
	ldr	x8, [x20]
	mov	w9, #1
	str	w9, [x8]
	b	LBB0_12
LBB0_11:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ldr	x8, [x21, #8]
	ldr	x2, [x8, x22, lsl #3]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_conf,32,3                      ; @conf
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

.subsections_via_symbols
