	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pdcs_osdep2_read
_pdcs_osdep2_read:                      ## @pdcs_osdep2_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	_pdcs_size@GOTPCREL(%rip), %rbx
	xorl	%edi, %edi
	cmpl	$225, (%rbx)
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ENODATA@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testq	%r14, %r14
	je	LBB0_11
## %bb.4:
	movslq	(%rbx), %r13
	addq	$-224, %r13
	movq	%r14, %rbx
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.5:
	xorl	%r15d, %r15d
	movq	_PDC_OK@GOTPCREL(%rip), %r12
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PDCS_ADDR_OSD2@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%r15, %rdi
	leaq	-44(%rbp), %rsi
	movl	$4, %edx
	callq	_pdc_stable_read
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	-44(%rbp), %edx
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	cltq
	addq	%rax, %rbx
	addl	$4, %r15d
	movzwl	%r15w, %r15d
	cmpq	%r13, %r15
	jb	LBB0_6
LBB0_9:
	subl	%r14d, %ebx
	jmp	LBB0_10
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_pdcs_size,4,2                  ## @pdcs_size
	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_PDCS_ADDR_OSD2,8,3             ## @PDCS_ADDR_OSD2
	.comm	_PDC_OK,8,3                     ## @PDC_OK
	.comm	_EIO,4,2                        ## @EIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%.8x\n"

	.no_dead_strip	_pdcs_osdep2_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pdcs_osdep2_read
_pdcs_osdep2_read:                      ; @pdcs_osdep2_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
Lloh0:
	adrp	x20, _pdcs_size@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pdcs_size@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #225
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _ENODATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	cbz	x19, LBB0_10
; %bb.5:
	ldrsw	x8, [x20]
	mov	x20, x19
	sub	x22, x8, #224
	cbz	w22, LBB0_9
; %bb.6:
	mov	x23, #0
Lloh4:
	adrp	x24, _PDCS_ADDR_OSD2@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PDCS_ADDR_OSD2@GOTPAGEOFF]
Lloh6:
	adrp	x25, _PDC_OK@GOTPAGE
Lloh7:
	ldr	x25, [x25, _PDC_OK@GOTPAGEOFF]
	mov	x20, x19
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	add	x0, x8, x23
	add	x1, sp, #12
	mov	w2, #4
	bl	_pdc_stable_read
	ldr	x8, [x25]
	cmp	x0, x8
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x1, x21
	bl	_sprintf
	add	x20, x20, w0, sxtw
	add	w8, w23, #4
	and	x23, x8, #0xffff
	cmp	x23, x22
	b.lo	LBB0_7
LBB0_9:
	sub	w0, w20, w19
	b	LBB0_3
LBB0_10:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_2
LBB0_11:
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_pdcs_size,4,2                  ; @pdcs_size
	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_PDCS_ADDR_OSD2,8,3             ; @PDCS_ADDR_OSD2
	.comm	_PDC_OK,8,3                     ; @PDC_OK
	.comm	_EIO,4,2                        ; @EIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%.8x\n"

	.no_dead_strip	_pdcs_osdep2_read
.subsections_via_symbols
