	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fixup_acsc
_fixup_acsc:                            ## @fixup_acsc
	.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
	testl	%esi, %esi
	jne	LBB0_5
## %bb.1:
	movq	_acs_chars@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_5
## %bb.2:
	movq	_enter_alt_charset_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	_exit_alt_charset_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_VT_ACSC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strdup
	movq	%rax, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_acs_chars,8,3                  ## @acs_chars
	.comm	_enter_alt_charset_mode,8,3     ## @enter_alt_charset_mode
	.comm	_exit_alt_charset_mode,8,3      ## @exit_alt_charset_mode
	.comm	_VT_ACSC,4,2                    ## @VT_ACSC
	.no_dead_strip	_fixup_acsc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fixup_acsc
_fixup_acsc:                            ; @fixup_acsc
	.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
	cbnz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x19, _acs_chars@GOTPAGE
Lloh1:
	ldr	x19, [x19, _acs_chars@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _enter_alt_charset_mode@GOTPAGE
Lloh3:
	ldr	x9, [x9, _enter_alt_charset_mode@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _exit_alt_charset_mode@GOTPAGE
Lloh6:
	ldr	x10, [x10, _exit_alt_charset_mode@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, #0
	ccmp	x9, #0, #4, eq
	ccmp	x10, #0, #4, ne
	b.eq	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _VT_ACSC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VT_ACSC@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_strdup
	str	x0, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_acs_chars,8,3                  ; @acs_chars
	.comm	_enter_alt_charset_mode,8,3     ; @enter_alt_charset_mode
	.comm	_exit_alt_charset_mode,8,3      ; @exit_alt_charset_mode
	.comm	_VT_ACSC,4,2                    ; @VT_ACSC
	.no_dead_strip	_fixup_acsc
.subsections_via_symbols
