	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_one_file
_process_one_file:                      ## @process_one_file
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rdi, %r15
	movq	_FTW_D@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edx
	xorl	%r12d, %edx
	movq	_FTW_F@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	(%rcx), %r13d
	movl	%r13d, %edi
	xorl	$2, %edi
	movslq	4(%rcx), %rax
	addq	%r15, %rax
	orl	%edx, %edi
	sete	%cl
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%rax), %rbx
	cmpb	$47, -2(%rax)
	movq	%rbx, %rax
	jne	LBB0_1
	jmp	LBB0_3
LBB0_2:
	movq	%rax, %rbx
LBB0_3:
	cmpl	%r12d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	cmpl	%r12d, %r8d
	leaq	L_.str.1(%rip), %rax
	cmovneq	%rcx, %rax
	movl	(%rsi), %ecx
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movl	%r13d, %edx
	movq	%rbx, %r8
	movq	%r15, %r9
	callq	_pr_debug
	xorl	%eax, %eax
	testl	%r13d, %r13d
	je	LBB0_29
## %bb.4:
	cmpl	$3, %r13d
	jg	LBB0_29
## %bb.5:
	cmpl	$1, %r13d
	jne	LBB0_12
## %bb.6:
	cmpl	%r12d, %r14d
	jne	LBB0_12
## %bb.7:
	movq	%r15, %rdi
	callq	_is_leaf_dir
	testq	%rax, %rax
	setne	%al
	orb	-41(%rbp), %al                  ## 1-byte Folded Reload
	jne	LBB0_13
LBB0_8:
	cmpl	$1, %r13d
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_17
## %bb.9:
	cmpl	%r12d, %ecx
	jne	LBB0_17
## %bb.10:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_25
## %bb.11:
	movq	_prog@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_27
LBB0_12:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_8
LBB0_13:
	movq	_close_table@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_15
## %bb.14:
	movq	_eventsfp@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_print_events_table_suffix
LBB0_15:
	movq	%rbx, %rdi
	callq	_file_name_to_table_name
	testq	%rax, %rax
	je	LBB0_22
## %bb.16:
	movq	_eventsfp@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, %rsi
	callq	_print_events_table_prefix
	jmp	LBB0_28
LBB0_17:
	cmpl	%r12d, %ecx
	jne	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_is_json_file
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_26
LBB0_19:
	cmpl	$2, %r13d
	jl	LBB0_23
## %bb.20:
	movq	%rbx, %rdi
	callq	_add_topic
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_29
LBB0_22:
	movq	_prog@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rdx
	callq	_pr_info
	movl	$-1, %eax
	jmp	LBB0_29
LBB0_23:
	cmpl	%r12d, %ecx
	movl	$0, %eax
	jne	LBB0_29
## %bb.24:
	xorl	%eax, %eax
	callq	_get_topic
	movl	%eax, -56(%rbp)
	movq	_eventsfp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_print_events_table_entry@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	callq	_json_events
	movl	%eax, %ebx
	movl	-56(%rbp), %edi
	callq	_free
	movl	%ebx, %eax
	jmp	LBB0_29
LBB0_25:
	movq	%r15, %rdi
	callq	_strdup
	movq	_mapfile@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_28
LBB0_26:
	movq	_prog@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.7(%rip), %rdi
LBB0_27:
	movq	%r15, %rdx
	callq	_pr_info
LBB0_28:
	xorl	%eax, %eax
LBB0_29:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FTW_D,4,2                      ## @FTW_D
	.comm	_FTW_F,4,2                      ## @FTW_F
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %d %7jd %-20s %s\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"d"

L_.str.3:                               ## @.str.3
	.asciz	"x"

	.comm	_close_table,8,3                ## @close_table
	.comm	_eventsfp,4,2                   ## @eventsfp
L_.str.4:                               ## @.str.4
	.asciz	"%s: Error determining table name for %s\n"

	.comm	_prog,4,2                       ## @prog
L_.str.5:                               ## @.str.5
	.asciz	"mapfile.csv"

	.comm	_mapfile,4,2                    ## @mapfile
L_.str.6:                               ## @.str.6
	.asciz	"%s: Ignoring file %s\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s: Ignoring file without .json suffix %s\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_print_events_table_entry,4,2   ## @print_events_table_entry
	.no_dead_strip	_process_one_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_one_file
_process_one_file:                      ; @process_one_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _FTW_D@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FTW_D@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
Lloh3:
	adrp	x8, _FTW_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FTW_F@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
	ldp	w22, w8, [x3]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	cmp	w22, #2
	ccmp	w26, w2, #0, eq
	cset	w25, eq
	add	x20, x0, x8
	b.ne	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldurb	w8, [x20, #-2]
	sub	x20, x20, #1
	cmp	w8, #47
	b.ne	LBB0_1
LBB0_2:
Lloh6:
	adrp	x8, l_.str.3@PAGE
Lloh7:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh8:
	adrp	x9, l_.str.2@PAGE
Lloh9:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w26, w21
	csel	x8, x9, x8, eq
Lloh10:
	adrp	x9, l_.str.1@PAGE
Lloh11:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w24, w21
	csel	x8, x9, x8, eq
	ldr	w3, [x1]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x8
	mov	x2, x22
	mov	x4, x20
	mov	x5, x19
	bl	_pr_debug
	mov	w23, #0
	cbz	w22, LBB0_28
; %bb.3:
	cmp	w22, #3
	b.gt	LBB0_28
; %bb.4:
	cmp	w22, #1
	b.ne	LBB0_11
; %bb.5:
	cmp	w26, w21
	b.ne	LBB0_11
; %bb.6:
	mov	x0, x19
	bl	_is_leaf_dir
	cmp	x0, #0
	cset	w8, ne
	orr	w8, w8, w25
	tbnz	w8, #0, LBB0_12
LBB0_7:
	cmp	w22, #1
	b.ne	LBB0_16
; %bb.8:
	cmp	w24, w21
	b.ne	LBB0_16
; %bb.9:
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_24
; %bb.10:
Lloh16:
	adrp	x8, _prog@GOTPAGE
Lloh17:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
Lloh19:
	adrp	x0, l_.str.6@PAGE
Lloh20:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_26
LBB0_11:
	cbz	w25, LBB0_7
LBB0_12:
Lloh21:
	adrp	x8, _close_table@GOTPAGE
Lloh22:
	ldr	x8, [x8, _close_table@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.13:
Lloh24:
	adrp	x8, _eventsfp@GOTPAGE
Lloh25:
	ldr	x8, [x8, _eventsfp@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_print_events_table_suffix
LBB0_14:
	mov	x0, x20
	bl	_file_name_to_table_name
	cbz	x0, LBB0_21
; %bb.15:
	mov	x1, x0
Lloh27:
	adrp	x8, _eventsfp@GOTPAGE
Lloh28:
	ldr	x8, [x8, _eventsfp@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_print_events_table_prefix
	b	LBB0_27
LBB0_16:
	cmp	w24, w21
	b.ne	LBB0_18
; %bb.17:
	mov	x0, x20
	bl	_is_json_file
	cbz	w0, LBB0_25
LBB0_18:
	cmp	w22, #2
	b.lt	LBB0_22
; %bb.19:
	mov	x0, x20
	bl	_add_topic
	cbz	x0, LBB0_22
; %bb.20:
Lloh30:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_28
LBB0_21:
Lloh33:
	adrp	x8, _prog@GOTPAGE
Lloh34:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x0, l_.str.4@PAGE
Lloh37:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x2, x20
	bl	_pr_info
	mov	w23, #-1
	b	LBB0_28
LBB0_22:
	cmp	w24, w21
	b.ne	LBB0_27
; %bb.23:
	bl	_get_topic
Lloh38:
	adrp	x8, _eventsfp@GOTPAGE
Lloh39:
	ldr	x8, [x8, _eventsfp@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	stp	w0, w8, [sp, #8]
Lloh41:
	adrp	x8, _print_events_table_entry@GOTPAGE
Lloh42:
	ldr	x8, [x8, _print_events_table_entry@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_json_events
	mov	x23, x0
	ldr	w0, [sp, #8]
	bl	_free
	b	LBB0_28
LBB0_24:
	mov	x0, x19
	bl	_strdup
	mov	w23, #0
Lloh44:
	adrp	x8, _mapfile@GOTPAGE
Lloh45:
	ldr	x8, [x8, _mapfile@GOTPAGEOFF]
Lloh46:
	str	w0, [x8]
	b	LBB0_28
LBB0_25:
Lloh47:
	adrp	x8, _prog@GOTPAGE
Lloh48:
	ldr	x8, [x8, _prog@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x0, l_.str.7@PAGE
Lloh51:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_26:
	mov	x2, x19
	bl	_pr_info
LBB0_27:
	mov	w23, #0
LBB0_28:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_FTW_D,4,2                      ; @FTW_D
	.comm	_FTW_F,4,2                      ; @FTW_F
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %d %7jd %-20s %s\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"d"

l_.str.3:                               ; @.str.3
	.asciz	"x"

	.comm	_close_table,8,3                ; @close_table
	.comm	_eventsfp,4,2                   ; @eventsfp
l_.str.4:                               ; @.str.4
	.asciz	"%s: Error determining table name for %s\n"

	.comm	_prog,4,2                       ; @prog
l_.str.5:                               ; @.str.5
	.asciz	"mapfile.csv"

	.comm	_mapfile,4,2                    ; @mapfile
l_.str.6:                               ; @.str.6
	.asciz	"%s: Ignoring file %s\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s: Ignoring file without .json suffix %s\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_print_events_table_entry,4,2   ; @print_events_table_entry
	.no_dead_strip	_process_one_file
.subsections_via_symbols
