	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoDrawSetInternalBuf         ## -- Begin function PicoDrawSetInternalBuf
	.p2align	4, 0x90
_PicoDrawSetInternalBuf:                ## @PicoDrawSetInternalBuf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_HighColBase@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_HighColIncrement@GOTPCREL(%rip), %rax
	movl	%esi, (%rax)
	movq	_DrawScanline@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%esi, %rcx
	imulq	%rax, %rcx
	addq	%rdi, %rcx
	movq	_HighCol@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	popq	%rbp
	retq
LBB0_2:
	movq	_DefHighCol@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HighColBase@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_HighColIncrement@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HighColBase,8,3                ## @HighColBase
	.comm	_HighColIncrement,4,2           ## @HighColIncrement
	.comm	_DrawScanline,4,2               ## @DrawScanline
	.comm	_HighCol,8,3                    ## @HighCol
	.comm	_DefHighCol,8,3                 ## @DefHighCol
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PicoDrawSetInternalBuf         ; -- Begin function PicoDrawSetInternalBuf
	.p2align	2
_PicoDrawSetInternalBuf:                ; @PicoDrawSetInternalBuf
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _HighColBase@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HighColBase@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _HighColIncrement@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HighColIncrement@GOTPAGEOFF]
Lloh5:
	str	w1, [x8]
Lloh6:
	adrp	x8, _DrawScanline@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DrawScanline@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	sxtw	x9, w1
	madd	x8, x8, x9, x0
Lloh9:
	adrp	x9, _HighCol@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HighCol@GOTPAGEOFF]
Lloh11:
	str	x8, [x9]
	ret
LBB0_2:
Lloh12:
	adrp	x8, _DefHighCol@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DefHighCol@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _HighColBase@GOTPAGE
Lloh16:
	ldr	x9, [x9, _HighColBase@GOTPAGEOFF]
Lloh17:
	str	x8, [x9]
Lloh18:
	adrp	x8, _HighColIncrement@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HighColIncrement@GOTPAGEOFF]
Lloh20:
	str	wzr, [x8]
	ret
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HighColBase,8,3                ; @HighColBase
	.comm	_HighColIncrement,4,2           ; @HighColIncrement
	.comm	_DrawScanline,4,2               ; @DrawScanline
	.comm	_HighCol,8,3                    ; @HighCol
	.comm	_DefHighCol,8,3                 ; @DefHighCol
.subsections_via_symbols
