	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print
_print:                                 ## @print
	.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	_isp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edx
	cmpl	$2, %edx
	je	LBB0_4
## %bb.1:
	cmpl	$1, %edx
	jne	LBB0_5
## %bb.2:
	movq	_tos@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_stdout@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_tos@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_stderr@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	callq	_write_buffer
	jmp	LBB0_6
LBB0_5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
LBB0_6:
	addq	$-4, (%rbx)
	movq	_tos@GOTPCREL(%rip), %rax
	decl	(%rax)
	xorl	%eax, %eax
	callq	_icheck_range
	xorl	%eax, %eax
	callq	_check_range
	movq	_pc@GOTPCREL(%rip), %rax
	incl	(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_isp,8,3                        ## @isp
	.comm	_tos,4,2                        ## @tos
	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"print: illegal print destination `%ld'\n"

	.comm	_pc,4,2                         ## @pc
	.no_dead_strip	_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print
_print:                                 ; @print
	.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
Lloh0:
	adrp	x19, _isp@GOTPAGE
Lloh1:
	ldr	x19, [x19, _isp@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w2, [x8]
Lloh2:
	adrp	x20, _tos@GOTPAGE
Lloh3:
	ldr	x20, [x20, _tos@GOTPAGEOFF]
	cmp	w2, #2
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #1
	b.ne	LBB0_5
; %bb.2:
	ldr	w0, [x20]
Lloh4:
	adrp	x8, _stdout@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	w0, [x20]
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
LBB0_4:
	ldr	w1, [x8]
	bl	_write_buffer
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_6:
	ldr	x8, [x19]
	sub	x8, x8, #4
	str	x8, [x19]
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	bl	_icheck_range
	bl	_check_range
Lloh13:
	adrp	x8, _pc@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pc@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_isp,8,3                        ; @isp
	.comm	_tos,4,2                        ; @tos
	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"print: illegal print destination `%ld'\n"

	.comm	_pc,4,2                         ; @pc
	.no_dead_strip	_print
.subsections_via_symbols
