	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cudbg_get_payload_range
_cudbg_get_payload_range:               ## @cudbg_get_payload_range
	.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	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	leaq	-40(%rbp), %rsi
	callq	_cudbg_fill_meminfo
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	leaq	-40(%rbp), %rsi
	leaq	-56(%rbp), %r8
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movq	%r12, %rcx
	callq	_cudbg_get_mem_region
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	$0, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movl	$1, (%r15)
	movl	-52(%rbp), %eax
	leaq	8(%r15), %rcx
	movl	%eax, 8(%r15)
	movl	-56(%rbp), %eax
	movl	%eax, 4(%r15)
	addq	$4, %r15
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	movq	%r15, %r8
	callq	_cudbg_get_mem_relative
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cudbg_get_payload_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cudbg_get_payload_range
_cudbg_get_payload_range:               ; @cudbg_get_payload_range
	.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, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	str	wzr, [sp, #24]
	str	xzr, [sp, #16]
	add	x1, sp, #8
	bl	_cudbg_fill_meminfo
	cbnz	w0, LBB0_4
; %bb.1:
	add	x1, sp, #8
	add	x4, sp, #16
	mov	x0, x21
	mov	x2, x20
	mov	x3, x22
	bl	_cudbg_get_mem_region
	cbz	w0, LBB0_3
; %bb.2:
	mov	w0, #0
	str	wzr, [x19]
	b	LBB0_4
LBB0_3:
	mov	w8, #1
	mov	x3, x19
	str	w8, [x3], #8
	ldr	d0, [sp, #16]
	str	d0, [x19, #4]!
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	mov	x4, x19
	bl	_cudbg_get_mem_relative
LBB0_4:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cudbg_get_payload_range
.subsections_via_symbols
