	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_init_handle
_xo_init_handle:                        ## @xo_init_handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 20(%rbx)
	movq	_xo_write_to_file@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_xo_flush_file@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	callq	_xo_is_line_buffered
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_XOF_FLUSH_LINE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_XOF_SET
LBB0_2:
	movq	_xo_locale_inited@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.3:
	movl	$1, (%rax)
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
LBB0_6:
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rsi
	cmovneq	%rax, %rsi
	movq	_LC_CTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_setlocale
LBB0_7:
	leaq	8(%rbx), %rdi
	callq	_xo_buf_init
	leaq	4(%rbx), %rdi
	callq	_xo_buf_init
	movq	_XOIF_INIT_IN_PROGRESS@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_XOIF_ISSET
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_XOIF_SET
	movq	_XO_INDENT_BY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_XO_DEPTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_xo_depth_check
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_XOIF_CLEAR                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.comm	_xo_write_to_file,4,2           ## @xo_write_to_file
	.comm	_xo_flush_file,4,2              ## @xo_flush_file
	.comm	_XOF_FLUSH_LINE,4,2             ## @XOF_FLUSH_LINE
	.comm	_xo_locale_inited,4,2           ## @xo_locale_inited
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LC_ALL"

L_.str.1:                               ## @.str.1
	.asciz	"LC_CTYPE"

L_.str.2:                               ## @.str.2
	.asciz	"LANG"

L_.str.3:                               ## @.str.3
	.asciz	"C"

	.comm	_LC_CTYPE,4,2                   ## @LC_CTYPE
	.comm	_XOIF_INIT_IN_PROGRESS,4,2      ## @XOIF_INIT_IN_PROGRESS
	.comm	_XO_INDENT_BY,4,2               ## @XO_INDENT_BY
	.comm	_XO_DEPTH,4,2                   ## @XO_DEPTH
	.no_dead_strip	_xo_init_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_init_handle
_xo_init_handle:                        ; @xo_init_handle
	.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, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [x19, #20]
Lloh3:
	adrp	x8, _xo_write_to_file@GOTPAGE
Lloh4:
	ldr	x8, [x8, _xo_write_to_file@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _xo_flush_file@GOTPAGE
Lloh7:
	ldr	x9, [x9, _xo_flush_file@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	bl	_xo_is_line_buffered
	cbz	x0, LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _XOF_FLUSH_LINE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XOF_FLUSH_LINE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_XOF_SET
LBB0_2:
Lloh12:
	adrp	x8, _xo_locale_inited@GOTPAGE
Lloh13:
	ldr	x8, [x8, _xo_locale_inited@GOTPAGEOFF]
	ldr	w9, [x8]
	cbnz	w9, LBB0_7
; %bb.3:
	mov	w9, #1
	str	w9, [x8]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_6
; %bb.4:
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_6
; %bb.5:
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
LBB0_6:
Lloh20:
	adrp	x8, l_.str.3@PAGE
Lloh21:
	add	x8, x8, l_.str.3@PAGEOFF
	cmp	x0, #0
	csel	x1, x8, x0, eq
Lloh22:
	adrp	x8, _LC_CTYPE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LC_CTYPE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_setlocale
LBB0_7:
	add	x0, x19, #8
	bl	_xo_buf_init
	add	x0, x19, #4
	bl	_xo_buf_init
Lloh25:
	adrp	x20, _XOIF_INIT_IN_PROGRESS@GOTPAGE
Lloh26:
	ldr	x20, [x20, _XOIF_INIT_IN_PROGRESS@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_XOIF_ISSET
	cbz	x0, LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_XOIF_SET
Lloh27:
	adrp	x8, _XO_INDENT_BY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _XO_INDENT_BY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh30:
	adrp	x8, _XO_DEPTH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _XO_DEPTH@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_xo_depth_check
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_XOIF_CLEAR
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.comm	_xo_write_to_file,4,2           ; @xo_write_to_file
	.comm	_xo_flush_file,4,2              ; @xo_flush_file
	.comm	_XOF_FLUSH_LINE,4,2             ; @XOF_FLUSH_LINE
	.comm	_xo_locale_inited,4,2           ; @xo_locale_inited
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LC_ALL"

l_.str.1:                               ; @.str.1
	.asciz	"LC_CTYPE"

l_.str.2:                               ; @.str.2
	.asciz	"LANG"

l_.str.3:                               ; @.str.3
	.asciz	"C"

	.comm	_LC_CTYPE,4,2                   ; @LC_CTYPE
	.comm	_XOIF_INIT_IN_PROGRESS,4,2      ; @XOIF_INIT_IN_PROGRESS
	.comm	_XO_INDENT_BY,4,2               ; @XO_INDENT_BY
	.comm	_XO_DEPTH,4,2                   ; @XO_DEPTH
	.no_dead_strip	_xo_init_handle
.subsections_via_symbols
