	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_private_sqfs_stat              ## -- Begin function private_sqfs_stat
	.p2align	4, 0x90
_private_sqfs_stat:                     ## @private_sqfs_stat
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movl	12(%r15), %edi
	movl	%edi, 28(%rbx)
	movl	32(%r15), %eax
	movl	%eax, 48(%rbx)
	movl	8(%r15), %eax
	movl	%eax, 36(%rbx)
	movl	%eax, 40(%rbx)
	movl	%eax, 44(%rbx)
	callq	_S_ISREG
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	28(%r15), %eax
	movl	%eax, (%rbx)
	leal	511(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$9, %ecx
	movl	%ecx, 4(%rbx)
	jmp	LBB0_7
LBB0_2:
	movl	28(%rbx), %edi
	callq	_S_ISBLK
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	28(%rbx), %edi
	callq	_S_ISCHR
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movl	20(%r15), %esi
	movl	24(%r15), %edi
	callq	_sqfs_makedev
	movl	%eax, 32(%rbx)
LBB0_7:
	movl	(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	4(%r15), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_sqfs_id_get
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	movq	-32(%rbp), %rax
	movq	%rax, 16(%rbx)
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	movq	%r14, %rdi
	callq	_sqfs_id_get
	movq	-32(%rbp), %rcx
	movq	%rcx, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	_SQFS_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	28(%rbx), %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	16(%r15), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SQFS_OK,8,3                    ## @SQFS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_private_sqfs_stat              ; -- Begin function private_sqfs_stat
	.p2align	2
_private_sqfs_stat:                     ; @private_sqfs_stat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldp	w8, w0, [x21, #8]
	str	w0, [x19, #28]
	ldr	w9, [x21, #32]
	stp	w8, w8, [x19, #36]
	stp	w8, w9, [x19, #44]
	bl	_S_ISREG
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x21, #28]
	add	w9, w8, #511
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #9
	stp	w8, w9, [x19]
	b	LBB0_5
LBB0_2:
	ldr	w0, [x19, #28]
	bl	_S_ISBLK
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #28]
	bl	_S_ISCHR
	cbz	x0, LBB0_8
LBB0_4:
	ldp	w1, w0, [x21, #20]
	bl	_sqfs_makedev
	str	w0, [x19, #32]
LBB0_5:
	ldr	w8, [x20]
	str	w8, [x19, #24]
	ldr	w1, [x21, #4]
	add	x2, sp, #8
	mov	x0, x20
	bl	_sqfs_id_get
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	x8, [sp, #8]
	str	x8, [x19, #16]
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x20
	bl	_sqfs_id_get
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
Lloh0:
	adrp	x8, _SQFS_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SQFS_OK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x0, x8, x0, eq
LBB0_7:
	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
	add	sp, sp, #64
	ret
LBB0_8:
	ldr	w0, [x19, #28]
	bl	_S_ISLNK
	cbz	x0, LBB0_5
; %bb.9:
	ldr	w8, [x21, #16]
	str	w8, [x19]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SQFS_OK,8,3                    ; @SQFS_OK
.subsections_via_symbols
