	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_needed_encoding
_xo_needed_encoding:                    ## @xo_needed_encoding
	.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
	movq	_XOF_UTF8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XOF_ISSET
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_xo_style
	movq	_XO_STYLE_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_XF_ENC_LOCALE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_XF_ENC_UTF8@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XOF_UTF8,4,2                   ## @XOF_UTF8
	.comm	_XF_ENC_UTF8,4,2                ## @XF_ENC_UTF8
	.comm	_XO_STYLE_TEXT,8,3              ## @XO_STYLE_TEXT
	.comm	_XF_ENC_LOCALE,4,2              ## @XF_ENC_LOCALE
	.no_dead_strip	_xo_needed_encoding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_needed_encoding
_xo_needed_encoding:                    ; @xo_needed_encoding
	.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, x0
Lloh0:
	adrp	x8, _XOF_UTF8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XOF_UTF8@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_XOF_ISSET
Lloh3:
	adrp	x20, _XF_ENC_UTF8@GOTPAGE
Lloh4:
	ldr	x20, [x20, _XF_ENC_UTF8@GOTPAGEOFF]
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_xo_style
Lloh5:
	adrp	x8, _XO_STYLE_TEXT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _XO_STYLE_TEXT@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _XF_ENC_LOCALE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XF_ENC_LOCALE@GOTPAGEOFF]
	cmp	x0, x8
	csel	x20, x9, x20, eq
LBB0_2:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_XOF_UTF8,4,2                   ; @XOF_UTF8
	.comm	_XF_ENC_UTF8,4,2                ; @XF_ENC_UTF8
	.comm	_XO_STYLE_TEXT,8,3              ; @XO_STYLE_TEXT
	.comm	_XF_ENC_LOCALE,4,2              ; @XF_ENC_LOCALE
	.no_dead_strip	_xo_needed_encoding
.subsections_via_symbols
