	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function matches_main_base
_matches_main_base:                     ## @matches_main_base
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	%rdi, _matches_main_base.last_path(%rip)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rsi
	callq	_base_of_path
	movl	%eax, %edx
	movq	%rbx, _matches_main_base.last_path(%rip)
	movq	_main_input_baselength@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	(%rcx), %edx
	jne	LBB0_4
## %bb.3:
	movq	-16(%rbp), %rdi
	movq	_main_input_basename@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_memcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
LBB0_4:
	movl	%eax, _matches_main_base.last_match(%rip)
	jmp	LBB0_5
LBB0_1:
	movl	_matches_main_base.last_match(%rip), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_matches_main_base.last_path,8,3 ## @matches_main_base.last_path
.zerofill __DATA,__bss,_matches_main_base.last_match,4,2 ## @matches_main_base.last_match
	.comm	_main_input_baselength,4,2      ## @main_input_baselength
	.comm	_main_input_basename,4,2        ## @main_input_basename
	.no_dead_strip	_matches_main_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function matches_main_base
_matches_main_base:                     ; @matches_main_base
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	adrp	x20, _matches_main_base.last_path@PAGE
	ldr	x8, [x20, _matches_main_base.last_path@PAGEOFF]
	cmp	x8, x0
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x0
	add	x1, sp, #8
	bl	_base_of_path
	str	x19, [x20, _matches_main_base.last_path@PAGEOFF]
Lloh0:
	adrp	x8, _main_input_baselength@GOTPAGE
Lloh1:
	ldr	x8, [x8, _main_input_baselength@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x2, x0
	ldr	x0, [sp, #8]
Lloh3:
	adrp	x8, _main_input_basename@GOTPAGE
Lloh4:
	ldr	x8, [x8, _main_input_basename@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x8, _matches_main_base.last_match@PAGE
Lloh7:
	ldr	w0, [x8, _matches_main_base.last_match@PAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	adrp	x8, _matches_main_base.last_match@PAGE
	str	w0, [x8, _matches_main_base.last_match@PAGEOFF]
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_matches_main_base.last_path,8,3 ; @matches_main_base.last_path
.zerofill __DATA,__bss,_matches_main_base.last_match,4,2 ; @matches_main_base.last_match
	.comm	_main_input_baselength,4,2      ; @main_input_baselength
	.comm	_main_input_basename,4,2        ; @main_input_basename
	.no_dead_strip	_matches_main_base
.subsections_via_symbols
