	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prism2_download_aux_dump_proc_start
_prism2_download_aux_dump_proc_start:   ## @prism2_download_aux_dump_proc_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_prism2_enable_aux_port
	movq	(%rbx), %rcx
	movq	_prism2_download_aux_dump_npages@GOTPCREL(%rip), %rdx
	leaq	1(%rcx), %rsi
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	cmovlq	%rsi, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prism2_download_aux_dump_npages,8,3 ## @prism2_download_aux_dump_npages
	.no_dead_strip	_prism2_download_aux_dump_proc_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prism2_download_aux_dump_proc_start
_prism2_download_aux_dump_proc_start:   ; @prism2_download_aux_dump_proc_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w0, [x8]
	mov	w1, #1
	bl	_prism2_enable_aux_port
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _prism2_download_aux_dump_npages@GOTPAGE
Lloh1:
	ldr	x9, [x9, _prism2_download_aux_dump_npages@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	csinc	x0, xzr, x8, ge
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_prism2_download_aux_dump_npages,8,3 ; @prism2_download_aux_dump_npages
	.no_dead_strip	_prism2_download_aux_dump_proc_start
.subsections_via_symbols
