	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_teken_init                     ## -- Begin function teken_init
	.p2align	4, 0x90
_teken_init:                            ## @teken_init
	.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	%rdi, %rbx
	movabsq	$343597383704, %rax             ## imm = 0x5000000018
	movq	%rax, -16(%rbp)
	movq	%rsi, 48(%rdi)
	movq	%rdx, 40(%rdi)
	movq	_teken_state_init@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rdi)
	movq	$0, 24(%rdi)
	movq	_TC_WHITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movq	_TC_BLACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	callq	_teken_subr_do_reset
	leaq	-16(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_teken_set_winsize
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_teken_state_init,4,2           ## @teken_state_init
	.comm	_TC_WHITE,4,2                   ## @TC_WHITE
	.comm	_TC_BLACK,4,2                   ## @TC_BLACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_teken_init                     ; -- Begin function teken_init
	.p2align	2
_teken_init:                            ; @teken_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	mov	x8, #24
	movk	x8, #80, lsl #32
	str	x8, [sp, #8]
	stp	x2, x1, [x0, #40]
Lloh0:
	adrp	x8, _teken_state_init@GOTPAGE
Lloh1:
	ldr	x8, [x8, _teken_state_init@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0, #32]
	stp	xzr, xzr, [x0, #16]
	str	xzr, [x0, #8]
Lloh3:
	adrp	x8, _TC_WHITE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TC_WHITE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _TC_BLACK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TC_BLACK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	bl	_teken_subr_do_reset
	add	x1, sp, #8
	mov	x0, x19
	bl	_teken_set_winsize
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_teken_state_init,4,2           ; @teken_state_init
	.comm	_TC_WHITE,4,2                   ; @TC_WHITE
	.comm	_TC_BLACK,4,2                   ; @TC_BLACK
.subsections_via_symbols
