	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mastercmp
_mastercmp:                             ## @mastercmp
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movl	(%rdi), %ecx
	movq	_FTS_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	je	LBB0_9
## %bb.1:
	movq	(%rsi), %rsi
	movl	(%rsi), %r9d
	cmpl	%edx, %r9d
	jne	LBB0_2
LBB0_9:
	popq	%rbp
	retq
LBB0_2:
	movq	_FTS_NS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	je	LBB0_10
## %bb.3:
	cmpl	%eax, %r9d
	je	LBB0_10
## %bb.4:
	cmpl	%r9d, %ecx
	je	LBB0_11
## %bb.5:
	movq	8(%rdi), %rax
	movq	_FTS_ROOTLEVEL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_11
## %bb.6:
	movq	_f_listdir@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_11
## %bb.7:
	movq	_FTS_D@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$1, %eax
	cmpl	%r8d, %ecx
	je	LBB0_9
## %bb.8:
	movl	$-1, %eax
	cmpl	%r8d, %r9d
	je	LBB0_9
LBB0_11:
	popq	%rbp
	jmp	_sortfcn                        ## TAILCALL
LBB0_10:
	popq	%rbp
	jmp	_namecmp                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FTS_ERR,4,2                    ## @FTS_ERR
	.comm	_FTS_NS,4,2                     ## @FTS_NS
	.comm	_FTS_ROOTLEVEL,8,3              ## @FTS_ROOTLEVEL
	.comm	_f_listdir,4,2                  ## @f_listdir
	.comm	_FTS_D,4,2                      ## @FTS_D
	.no_dead_strip	_mastercmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mastercmp
_mastercmp:                             ; @mastercmp
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FTS_ERR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FTS_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x9]
	cmp	w8, w10
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	x1, [x1]
	ldr	w9, [x1]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
Lloh3:
	adrp	x10, _FTS_NS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FTS_NS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	w8, w10
	ccmp	w9, w10, #4, ne
	b.ne	LBB0_6
; %bb.5:
	b	_namecmp
LBB0_6:
	cmp	w8, w9
	b.eq	LBB0_12
; %bb.7:
	ldr	x10, [x0, #8]
Lloh6:
	adrp	x11, _FTS_ROOTLEVEL@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FTS_ROOTLEVEL@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
Lloh9:
	adrp	x12, _f_listdir@GOTPAGE
Lloh10:
	ldr	x12, [x12, _f_listdir@GOTPAGEOFF]
Lloh11:
	ldr	w12, [x12]
	cmp	x10, x11
	ccmp	w12, #0, #0, eq
	b.ne	LBB0_12
; %bb.8:
Lloh12:
	adrp	x10, _FTS_D@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FTS_D@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w8, w10
	b.ne	LBB0_10
; %bb.9:
	mov	w0, #1
	ret
LBB0_10:
	cmp	w9, w10
	b.ne	LBB0_12
; %bb.11:
	mov	w0, #-1
	ret
LBB0_12:
	b	_sortfcn
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FTS_ERR,4,2                    ; @FTS_ERR
	.comm	_FTS_NS,4,2                     ; @FTS_NS
	.comm	_FTS_ROOTLEVEL,8,3              ; @FTS_ROOTLEVEL
	.comm	_f_listdir,4,2                  ; @f_listdir
	.comm	_FTS_D,4,2                      ; @FTS_D
	.no_dead_strip	_mastercmp
.subsections_via_symbols
