	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tomoyo_path_matches_pattern    ## -- Begin function tomoyo_path_matches_pattern
	.p2align	4, 0x90
_tomoyo_path_matches_pattern:           ## @tomoyo_path_matches_pattern
	.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
	cmpl	$0, 24(%rsi)
	je	LBB0_4
## %bb.1:
	movq	16(%rdi), %rax
	cmpq	16(%rsi), %rax
	jne	LBB0_25
## %bb.2:
	movq	(%rdi), %r14
	movq	(%rsi), %r15
	movslq	8(%rsi), %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_25:
	xorl	%eax, %eax
	jmp	LBB0_26
LBB0_4:
	callq	_tomoyo_pathcmp
	testl	%eax, %eax
	sete	%al
	jmp	LBB0_26
LBB0_6:
	addq	%rbx, %r15
	cmpb	$0, (%r14,%rbx)
	je	LBB0_15
## %bb.7:
	addq	%rbx, %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r15), %r13d
	testb	%r13b, %r13b
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %r12
	movq	%r15, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	testq	%rbx, %rbx
	je	LBB0_14
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_tomoyo_file_matches_to_pattern
	testl	%eax, %eax
	je	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$1, (%r12)
	sbbq	$-1, %r12
	cmpb	$1, (%rbx)
	sbbq	$-1, %rbx
	cmpb	$0, (%r12)
	movq	%rbx, %r15
	movq	%r12, %r14
	jne	LBB0_8
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %r12
	addq	%r14, %r12
	testq	%rbx, %rbx
	jne	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	addq	%r15, %rbx
	jmp	LBB0_11
LBB0_15:
	movb	$1, %al
	jmp	LBB0_18
LBB0_16:
	movq	%r15, %rbx
LBB0_17:
	testb	%r13b, %r13b
	setne	%al
	movq	%rbx, %r15
LBB0_18:
	movb	(%r15), %cl
	cmpb	$92, %cl
	jne	LBB0_24
## %bb.19:
	addq	$2, %r15
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	movzbl	(%r15), %ecx
	addq	$2, %r15
	cmpb	$92, %cl
	jne	LBB0_24
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%r15), %ecx
	cmpb	$64, %cl
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpb	$42, %cl
	je	LBB0_20
## %bb.23:
	movb	$92, %cl
LBB0_24:
	testb	%cl, %cl
	sete	%cl
	andb	%cl, %al
LBB0_26:
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tomoyo_path_matches_pattern    ; -- Begin function tomoyo_path_matches_pattern
	.p2align	2
_tomoyo_path_matches_pattern:           ; @tomoyo_path_matches_pattern
	.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
	ldr	w8, [x1, #24]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x8, [x0, #16]
	ldr	x9, [x1, #16]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x19, [x0]
	ldr	x21, [x1]
	ldrsw	x22, [x1, #8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_strncmp
	cbz	x0, LBB0_5
LBB0_3:
	mov	w0, #0
	b	LBB0_22
LBB0_4:
	bl	_tomoyo_pathcmp
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_22
LBB0_5:
	add	x20, x19, x22
	add	x19, x21, x22
	ldrb	w8, [x20]
	cbz	w8, LBB0_14
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w23, [x19]
	cbz	w23, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	w1, #47
	bl	_strchr
	mov	x21, x0
	mov	x0, x19
	mov	w1, #47
	bl	_strchr
	mov	x22, x0
	cbz	x21, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	x22, LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	mov	x3, x22
	bl	_tomoyo_file_matches_to_pattern
	cbz	w0, LBB0_22
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x21
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x20, x21, x8, eq
	mov	x8, x22
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x19, x22, x8, eq
	ldrb	w8, [x20]
	cbnz	w8, LBB0_6
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_strlen
	add	x21, x20, w0, sxtw
	cbnz	x22, LBB0_9
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_strlen
	add	x22, x19, w0, sxtw
	b	LBB0_9
LBB0_13:
	cmp	w23, #0
	cset	w8, ne
	b	LBB0_15
LBB0_14:
	mov	w8, #1
LBB0_15:
	ldrb	w9, [x19]
	cmp	w9, #92
	b.ne	LBB0_21
; %bb.16:
	add	x10, x19, #2
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	ldrb	w9, [x10], #2
	cmp	w9, #92
	b.ne	LBB0_21
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldurb	w9, [x10, #-1]
	cmp	w9, #64
	b.eq	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	cmp	w9, #42
	b.eq	LBB0_17
; %bb.20:
	mov	w9, #92
LBB0_21:
	cmp	w9, #0
	cset	w9, eq
	and	w0, w8, w9
LBB0_22:
	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
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
