	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cudbg_get_buff                 ## -- Begin function cudbg_get_buff
	.p2align	4, 0x90
_cudbg_get_buff:                        ## @cudbg_get_buff
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %r8
	leaq	(%r8,%rdx), %rax
	cmpq	8(%rsi), %rax
	jg	LBB0_1
## %bb.2:
	movq	(%rdi), %r9
	movq	_CUDBG_COMPRESSION_NONE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r9
	jne	LBB0_3
## %bb.5:
	movq	16(%rsi), %rax
	addq	%r8, %rax
	movq	%rax, 16(%rcx)
	movq	%r8, (%rcx)
	jmp	LBB0_6
LBB0_3:
	cmpq	%rdx, 8(%rdi)
	jge	LBB0_4
LBB0_1:
	movq	_CUDBG_STATUS_NO_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_4:
	movq	16(%rdi), %rax
	movq	%rax, 16(%rcx)
	movq	$0, (%rcx)
LBB0_6:
	movq	%rdx, 8(%rcx)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CUDBG_STATUS_NO_MEM,4,2        ## @CUDBG_STATUS_NO_MEM
	.comm	_CUDBG_COMPRESSION_NONE,8,3     ## @CUDBG_COMPRESSION_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cudbg_get_buff                 ; -- Begin function cudbg_get_buff
	.p2align	2
_cudbg_get_buff:                        ; @cudbg_get_buff
	.cfi_startproc
; %bb.0:
	ldp	x9, x10, [x1]
	add	x11, x9, x2
	cmp	x11, x10
	b.gt	LBB0_4
; %bb.1:
	mov	x8, x0
	ldr	x10, [x0]
Lloh0:
	adrp	x11, _CUDBG_COMPRESSION_NONE@GOTPAGE
Lloh1:
	ldr	x11, [x11, _CUDBG_COMPRESSION_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
	ldr	x8, [x1, #16]
	add	x8, x8, x9
	stp	x2, x8, [x3, #8]
	str	x9, [x3]
	ret
LBB0_3:
	ldr	x9, [x8, #8]
	cmp	x9, x2
	b.ge	LBB0_5
LBB0_4:
Lloh3:
	adrp	x8, _CUDBG_STATUS_NO_MEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CUDBG_STATUS_NO_MEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_5:
	mov	w0, #0
	ldr	x8, [x8, #16]
	stp	x2, x8, [x3, #8]
	str	xzr, [x3]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CUDBG_STATUS_NO_MEM,4,2        ; @CUDBG_STATUS_NO_MEM
	.comm	_CUDBG_COMPRESSION_NONE,8,3     ; @CUDBG_COMPRESSION_NONE
.subsections_via_symbols
