	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd9660_compare_filename
_cd9660_compare_filename:               ## @cd9660_compare_filename
	.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
	.cfi_offset %rbx, -24
	movq	_ISO_FILENAME_MAXLENGTH_BEFORE_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	decl	%r8d
	xorl	%r10d, %r10d
	movl	$32, %r9d
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r10d
	xorl	%ecx, %ecx
	cmpb	$46, %al
	setne	%cl
	movzbl	%al, %eax
	cmovel	%r9d, %eax
	addl	%ecx, %ebx
	cmpb	%al, %dl
	jl	LBB0_21
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	jg	LBB0_9
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r10d, %rax
	movzbl	(%rdi,%rax), %edx
	movslq	%ebx, %rcx
	cmpl	%r8d, %r10d
	jge	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%r8d, %ebx
	jge	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	(%rsi,%rcx), %eax
	cmpb	$46, %dl
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, %al
	je	LBB0_11
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$46, %dl
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	movb	$32, %dl
	cmpb	%al, %dl
	jge	LBB0_8
LBB0_21:
	movl	$-1, %eax
	jmp	LBB0_22
LBB0_10:
	xorl	%eax, %eax
	cmpb	$46, %dl
	jne	LBB0_22
LBB0_11:
	xorl	%eax, %eax
	cmpb	$46, (%rsi,%rcx)
	jne	LBB0_22
## %bb.12:
	incl	%r10d
	incl	%ebx
	movl	$32, %r9d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%r10d
	xorl	%ecx, %ecx
	cmpb	$59, %dl
	setne	%cl
	movzbl	%dl, %edx
	cmovel	%r9d, %edx
	addl	%ecx, %ebx
	cmpb	%dl, %r11b
	jl	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_13 Depth=1
	jg	LBB0_9
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%r8d, %r10d
	jge	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpl	%r8d, %ebx
	jge	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
	movslq	%r10d, %rcx
	movzbl	(%rdi,%rcx), %r11d
	movslq	%ebx, %rcx
	movzbl	(%rsi,%rcx), %edx
	cmpb	$59, %r11b
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$59, %dl
	je	LBB0_22
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpb	$59, %r11b
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_13 Depth=1
	incl	%ebx
	movb	$32, %r11b
	cmpb	%dl, %r11b
	jge	LBB0_20
	jmp	LBB0_21
LBB0_9:
	movl	$1, %eax
LBB0_22:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISO_FILENAME_MAXLENGTH_BEFORE_VERSION,4,2 ## @ISO_FILENAME_MAXLENGTH_BEFORE_VERSION
	.no_dead_strip	_cd9660_compare_filename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd9660_compare_filename
_cd9660_compare_filename:               ; @cd9660_compare_filename
	.cfi_startproc
; %bb.0:
	mov	w10, #0
	mov	w8, #0
Lloh0:
	adrp	x9, _ISO_FILENAME_MAXLENGTH_BEFORE_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISO_FILENAME_MAXLENGTH_BEFORE_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w9, #1
	mov	w11, #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x0, w10, sxtw]
	cmp	w10, w9
	b.ge	LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w8, w9
	b.ge	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w13, [x1, w8, sxtw]
	cmp	w12, #46
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w13, #46
	b.eq	LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	w13, #46
	csel	w14, w11, w13, eq
	cinc	w15, w8, ne
	cmp	w12, #46
	csel	w12, w12, w11, ne
	cinc	w10, w10, ne
	csinc	w8, w15, w8, ne
	csel	w13, w14, w13, ne
	sxtb	w12, w12
	cmp	w12, w13, sxtb
	b.lt	LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	b.le	LBB0_1
LBB0_7:
	mov	w8, #1
LBB0_8:
	mov	x0, x8
	ret
LBB0_9:
	cmp	w12, #46
	b.ne	LBB0_18
LBB0_10:
	ldrb	w11, [x1, w8, sxtw]
	cmp	w11, #46
	b.ne	LBB0_18
; %bb.11:
	add	w10, w10, #1
	add	w11, w8, #1
	mov	w12, #32
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	mov	w8, #0
	cmp	w10, w9
	b.ge	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w11, w9
	b.ge	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w13, [x0, w10, sxtw]
	ldrb	w8, [x1, w11, sxtw]
	cmp	w13, #59
	b.ne	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	w8, #59
	b.eq	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	cmp	w8, #59
	csel	w14, w12, w8, eq
	cinc	w15, w11, ne
	cmp	w13, #59
	csel	w13, w13, w12, ne
	cinc	w10, w10, ne
	csinc	w11, w15, w11, ne
	csel	w8, w14, w8, ne
	sxtb	w13, w13
	cmp	w13, w8, sxtb
	b.lt	LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	b.le	LBB0_12
	b	LBB0_7
LBB0_18:
	mov	w0, #0
	ret
LBB0_19:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISO_FILENAME_MAXLENGTH_BEFORE_VERSION,4,2 ; @ISO_FILENAME_MAXLENGTH_BEFORE_VERSION
	.no_dead_strip	_cd9660_compare_filename
.subsections_via_symbols
