	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdcspath_layer_read
_pdcspath_layer_read:                   ## @pdcspath_layer_read
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movq	%rdi, %r15
	leaq	4(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_read_lock
	movzwl	(%r15), %r12d
	movq	%rbx, %rdi
	callq	_read_unlock
	testw	%r12w, %r12w
	je	LBB0_14
## %bb.5:
	movq	8(%r15), %rax
	movl	(%rax), %edx
	movq	%r14, %rbx
	testl	%edx, %edx
	je	LBB0_12
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r14, %rbx
	movq	8(%r15), %rax
	movl	4(%rax), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
	movl	8(%rax), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
	movl	12(%rax), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.9:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
	movl	16(%rax), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.10:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
	movl	20(%rax), %edx
	testl	%edx, %edx
	je	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	cltq
	addq	%rax, %rbx
LBB0_12:
	movw	$10, (%rbx)
	subl	%r14d, %ebx
	incl	%ebx
	jmp	LBB0_13
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_14:
	movq	_ENODATA@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENODATA,4,2                    ## @ENODATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u "

	.no_dead_strip	_pdcspath_layer_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdcspath_layer_read
_pdcspath_layer_read:                   ; @pdcspath_layer_read
	.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
	cbz	x0, LBB0_11
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_11
; %bb.2:
	mov	x21, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_read_lock
	ldrh	w22, [x21]
	mov	x0, x20
	bl	_read_unlock
	cbz	w22, LBB0_12
; %bb.3:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	mov	x20, x19
	cbz	w8, LBB0_10
; %bb.4:
	str	x8, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	add	x20, x19, w0, sxtw
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #4]
	cbz	w8, LBB0_10
; %bb.5:
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	x20, x20, w0, sxtw
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_10
; %bb.6:
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	x20, x20, w0, sxtw
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #12]
	cbz	w8, LBB0_10
; %bb.7:
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	x20, x20, w0, sxtw
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #16]
	cbz	w8, LBB0_10
; %bb.8:
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	x20, x20, w0, sxtw
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #20]
	cbz	w8, LBB0_10
; %bb.9:
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sprintf
	add	x20, x20, w0, sxtw
LBB0_10:
	mov	w8, #10
	strh	w8, [x20]
	sub	w8, w20, w19
	add	w0, w8, #1
	b	LBB0_14
LBB0_11:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh14:
	adrp	x8, _ENODATA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODATA,4,2                    ; @ENODATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u "

	.no_dead_strip	_pdcspath_layer_read
.subsections_via_symbols
