	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kprint_at                      ## -- Begin function kprint_at
	.p2align	4, 0x90
_kprint_at:                             ## @kprint_at
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	%edx, %eax
	orl	%esi, %eax
	js	LBB0_2
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_get_offset
	jmp	LBB0_3
LBB0_2:
	xorl	%eax, %eax
	callq	_get_cursor_offset
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_get_offset_row
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_get_offset_col
	movl	%eax, %r15d
LBB0_3:
	movb	(%r12), %al
	testb	%al, %al
	je	LBB0_6
## %bb.4:
	incq	%r12
	movq	_WHITE_ON_BLACK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %ecx
	movsbl	%al, %edi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_print_char
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_get_offset_row
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_get_offset_col
	movl	%eax, %r15d
	movzbl	(%r12), %eax
	incq	%r12
	testb	%al, %al
	jne	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WHITE_ON_BLACK,4,2             ## @WHITE_ON_BLACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kprint_at                      ; -- Begin function kprint_at
	.p2align	2
_kprint_at:                             ; @kprint_at
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x0
	orr	w8, w2, w1
	tbnz	w8, #31, LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x0, x1
	mov	x1, x2
	bl	_get_offset
	ldrb	w8, [x21]
	cbnz	w8, LBB0_3
	b	LBB0_5
LBB0_2:
	bl	_get_cursor_offset
	mov	x20, x0
	bl	_get_offset_row
	mov	x19, x0
	mov	x0, x20
	bl	_get_offset_col
	mov	x20, x0
	ldrb	w8, [x21]
	cbz	w8, LBB0_5
LBB0_3:
	add	x21, x21, #1
Lloh0:
	adrp	x22, _WHITE_ON_BLACK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WHITE_ON_BLACK@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x22]
	sxtb	w0, w8
	mov	x1, x20
	mov	x2, x19
	bl	_print_char
	mov	x20, x0
	bl	_get_offset_row
	mov	x19, x0
	mov	x0, x20
	bl	_get_offset_col
	mov	x20, x0
	ldrb	w8, [x21], #1
	cbnz	w8, LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_WHITE_ON_BLACK,4,2             ; @WHITE_ON_BLACK
.subsections_via_symbols
