	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdcspath_hwpath_read
_pdcspath_hwpath_read:                  ## @pdcspath_hwpath_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_19
## %bb.5:
	movq	8(%r15), %rax
	movl	(%rax), %ecx
	movq	%r14, %rbx
	cmpl	$127, %ecx
	jg	LBB0_7
## %bb.6:
	movzbl	%cl, %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	movslq	%eax, %rbx
	addq	%r14, %rbx
	movq	8(%r15), %rax
LBB0_7:
	movl	4(%rax), %ecx
	cmpl	$127, %ecx
	jg	LBB0_9
## %bb.8:
	movzbl	%cl, %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
LBB0_9:
	movl	8(%rax), %ecx
	cmpl	$127, %ecx
	jg	LBB0_11
## %bb.10:
	movzbl	%cl, %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
LBB0_11:
	movl	12(%rax), %ecx
	cmpl	$127, %ecx
	jg	LBB0_13
## %bb.12:
	movzbl	%cl, %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
LBB0_13:
	movl	16(%rax), %ecx
	cmpl	$127, %ecx
	jg	LBB0_15
## %bb.14:
	movzbl	%cl, %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	movq	8(%r15), %rax
LBB0_15:
	movl	20(%rax), %eax
	cmpl	$127, %eax
	jg	LBB0_17
## %bb.16:
	movzbl	%al, %edx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
LBB0_17:
	movzbl	16(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_sprintf
	addl	%eax, %ebx
	subl	%r14d, %ebx
	jmp	LBB0_18
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_19:
	movq	_ENODATA@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_18:
	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/"

L_.str.1:                               ## @.str.1
	.asciz	"%u\n"

	.no_dead_strip	_pdcspath_hwpath_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdcspath_hwpath_read
_pdcspath_hwpath_read:                  ; @pdcspath_hwpath_read
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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_16
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_16
; %bb.2:
	mov	x20, x0
	add	x21, x0, #4
	mov	x0, x21
	bl	_read_lock
	ldrh	w22, [x20]
	mov	x0, x21
	bl	_read_unlock
	cbz	w22, LBB0_17
; %bb.3:
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	mov	x21, x19
	cmp	w9, #127
	b.gt	LBB0_5
; %bb.4:
	and	w2, w9, #0xff
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	add	x21, x19, w0, sxtw
	ldr	x8, [x20, #8]
LBB0_5:
	ldr	w9, [x8, #4]
	cmp	w9, #127
	b.gt	LBB0_7
; %bb.6:
	and	w2, w9, #0xff
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x21, x21, w0, sxtw
	ldr	x8, [x20, #8]
LBB0_7:
	ldr	w9, [x8, #8]
	cmp	w9, #127
	b.gt	LBB0_9
; %bb.8:
	and	w2, w9, #0xff
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x21, x21, w0, sxtw
	ldr	x8, [x20, #8]
LBB0_9:
	ldr	w9, [x8, #12]
	cmp	w9, #127
	b.gt	LBB0_11
; %bb.10:
	and	w2, w9, #0xff
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x21, x21, w0, sxtw
	ldr	x8, [x20, #8]
LBB0_11:
	ldr	w9, [x8, #16]
	cmp	w9, #127
	b.gt	LBB0_13
; %bb.12:
	and	w2, w9, #0xff
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x21, x21, w0, sxtw
	ldr	x8, [x20, #8]
LBB0_13:
	ldr	w8, [x8, #20]
	cmp	w8, #127
	b.gt	LBB0_15
; %bb.14:
	and	w2, w8, #0xff
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	x21, x21, w0, sxtw
LBB0_15:
	ldrb	w2, [x20, #16]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_sprintf
	add	w8, w21, w0
	sub	w0, w8, w19
	b	LBB0_19
LBB0_16:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh16:
	adrp	x8, _ENODATA@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	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 AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENODATA,4,2                    ; @ENODATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u/"

l_.str.1:                               ; @.str.1
	.asciz	"%u\n"

	.no_dead_strip	_pdcspath_hwpath_read
.subsections_via_symbols
