	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_ptr_pa
_read_ptr_pa:                           ## @read_ptr_pa
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	xorl	%r15d, %r15d
	movq	%rdx, %rdi
	xorl	%esi, %esi
	callq	_r_return_val_if_fail
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rax
	xorl	%edi, %edi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	cmpq	$0, (%rax)
	setne	%dil
	jmp	LBB0_4
LBB0_1:
	xorl	%edi, %edi
LBB0_4:
	xorl	%esi, %esi
	callq	_r_return_val_if_fail
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movl	8(%rbx), %edi
	leaq	-64(%rbp), %rdx
	movl	$4, %ecx
	movl	%r12d, %esi
	callq	_r_buf_read_at
	cmpl	$4, %eax
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	movl	$32, %edx
	callq	_r_read_ble
	movl	%eax, (%r14)
	movl	$1, %r15d
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_read_ptr_pa
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_ptr_pa
_read_ptr_pa:                           ; @read_ptr_pa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	x0, x2
	mov	w1, #0
	bl	_r_return_val_if_fail
	cbz	x20, LBB0_3
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	mov	w1, #0
	bl	_r_return_val_if_fail
	stp	xzr, xzr, [sp, #8]
	ldr	w0, [x20, #8]
	add	x2, sp, #8
	mov	x1, x21
	mov	w3, #4
	bl	_r_buf_read_at
	mov	x8, x0
	mov	w0, #0
	cmp	w8, #4
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w1, [x8]
	add	x0, sp, #8
	mov	w2, #32
	bl	_r_read_ble
	str	w0, [x19]
	mov	w0, #1
LBB0_6:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_read_ptr_pa
.subsections_via_symbols
