	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _citrus_ISO2022_init_state
__citrus_ISO2022_init_state:            ## @_citrus_ISO2022_init_state
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	$0, 24(%r15)
	movq	_F_8BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r14), %eax
	cmpl	$1, %eax
	sbbl	%ebx, %ebx
	orl	$1, %ebx
	movl	%ebx, (%r15)
	movq	8(%r14), %rax
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movl	16(%rax), %edx
	movq	16(%r15), %rsi
	movl	%edx, 16(%rsi)
	movq	%rcx, 8(%rsi)
	movl	(%rax), %ecx
	movl	%ecx, (%rsi)
LBB0_2:
	movq	32(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	movl	40(%rax), %edx
	movq	16(%r15), %rsi
	movl	%edx, 40(%rsi)
	movq	%rcx, 32(%rsi)
	movl	24(%rax), %ecx
	movl	%ecx, 24(%rsi)
LBB0_4:
	movq	56(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movl	64(%rax), %edx
	movq	16(%r15), %rsi
	movl	%edx, 64(%rsi)
	movq	%rcx, 56(%rsi)
	movl	48(%rax), %ecx
	movl	%ecx, 48(%rsi)
LBB0_6:
	movq	80(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	movl	88(%rax), %edx
	movq	16(%r15), %rsi
	movl	%edx, 88(%rsi)
	movq	%rcx, 80(%rsi)
	movl	72(%rax), %eax
	movl	%eax, 72(%rsi)
LBB0_8:
	movq	$-1, 4(%r15)
	movq	__ISO2022STATE_FLAG_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F_8BIT,4,2                     ## @F_8BIT
	.comm	__ISO2022STATE_FLAG_INITIALIZED,4,2 ## @_ISO2022STATE_FLAG_INITIALIZED
	.no_dead_strip	__citrus_ISO2022_init_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _citrus_ISO2022_init_state
__citrus_ISO2022_init_state:            ; @_citrus_ISO2022_init_state
	.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
	mov	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	str	xzr, [x19, #24]
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _F_8BIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _F_8BIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #-1
	cneg	w8, w8, ne
	str	w8, [x19]
	ldr	x8, [x20, #8]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	w10, [x8, #16]
	ldr	x11, [x19, #16]
	str	w10, [x11, #16]
	str	x9, [x11, #8]
	ldr	w9, [x8]
	str	w9, [x11]
LBB0_2:
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_4
; %bb.3:
	ldr	w10, [x8, #40]
	ldr	x11, [x19, #16]
	str	w10, [x11, #40]
	str	x9, [x11, #32]
	ldr	w9, [x8, #24]
	str	w9, [x11, #24]
LBB0_4:
	ldr	x9, [x8, #56]
	cbz	x9, LBB0_6
; %bb.5:
	ldr	w10, [x8, #64]
	ldr	x11, [x19, #16]
	str	w10, [x11, #64]
	str	x9, [x11, #56]
	ldr	w9, [x8, #48]
	str	w9, [x11, #48]
LBB0_6:
	ldr	x9, [x8, #80]
	cbz	x9, LBB0_8
; %bb.7:
	ldr	w10, [x8, #88]
	ldr	x11, [x19, #16]
	str	w10, [x11, #88]
	str	x9, [x11, #80]
	ldr	w8, [x8, #72]
	str	w8, [x11, #72]
LBB0_8:
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x19, #4]
Lloh3:
	adrp	x8, __ISO2022STATE_FLAG_INITIALIZED@GOTPAGE
Lloh4:
	ldr	x8, [x8, __ISO2022STATE_FLAG_INITIALIZED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w8, w9, w8
	str	w8, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_F_8BIT,4,2                     ; @F_8BIT
	.comm	__ISO2022STATE_FLAG_INITIALIZED,4,2 ; @_ISO2022STATE_FLAG_INITIALIZED
	.no_dead_strip	__citrus_ISO2022_init_state
.subsections_via_symbols
