	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function scandir_cmp
_scandir_cmp:                           ## @scandir_cmp
	.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), %rcx
	movq	(%rcx), %rdi
	movq	(%rsi), %rdx
	movq	(%rdx), %rsi
	cmpq	%rsi, %rdi
	je	LBB0_4
## %bb.1:
	movq	_DT_DIR@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movl	$-1, %eax
	cmpq	%r8, %rdi
	je	LBB0_3
## %bb.2:
	movl	$1, %eax
	cmpq	%r8, %rsi
	jne	LBB0_4
LBB0_3:
	popq	%rbp
	retq
LBB0_4:
	movl	8(%rcx), %edi
	movl	8(%rdx), %esi
	popq	%rbp
	jmp	_strcasecmp                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_DIR,8,3                     ## @DT_DIR
	.no_dead_strip	_scandir_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function scandir_cmp
_scandir_cmp:                           ; @scandir_cmp
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x11, [x8]
	ldr	x9, [x1]
	ldr	x10, [x9]
	cmp	x11, x10
	b.eq	LBB0_5
; %bb.1:
Lloh0:
	adrp	x12, _DT_DIR@GOTPAGE
Lloh1:
	ldr	x12, [x12, _DT_DIR@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #-1
	ret
LBB0_3:
	cmp	x10, x12
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #1
	ret
LBB0_5:
	ldr	w0, [x8, #8]
	ldr	w1, [x9, #8]
	b	_strcasecmp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_DIR,8,3                     ; @DT_DIR
	.no_dead_strip	_scandir_cmp
.subsections_via_symbols
