	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xo_set_file_h                  ## -- Begin function xo_set_file_h
	.p2align	4, 0x90
_xo_set_file_h:                         ## @xo_set_file_h
	.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	%rsi, %rbx
	callq	_xo_default
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, 16(%rax)
	movq	_xo_write_to_file@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	_xo_close_file@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_xo_flush_file@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_xo_failure
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xo_set_file: NULL fp"

	.comm	_xo_write_to_file,4,2           ## @xo_write_to_file
	.comm	_xo_close_file,4,2              ## @xo_close_file
	.comm	_xo_flush_file,4,2              ## @xo_flush_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xo_set_file_h                  ; -- Begin function xo_set_file_h
	.p2align	2
_xo_set_file_h:                         ; @xo_set_file_h
	.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
	bl	_xo_default
	mov	x8, x0
	cbz	x19, LBB0_2
; %bb.1:
	mov	w0, #0
	str	x19, [x8, #16]
Lloh0:
	adrp	x9, _xo_write_to_file@GOTPAGE
Lloh1:
	ldr	x9, [x9, _xo_write_to_file@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #8]
Lloh3:
	adrp	x9, _xo_close_file@GOTPAGE
Lloh4:
	ldr	x9, [x9, _xo_close_file@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _xo_flush_file@GOTPAGE
Lloh7:
	ldr	x10, [x10, _xo_flush_file@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_xo_failure
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xo_set_file: NULL fp"

	.comm	_xo_write_to_file,4,2           ; @xo_write_to_file
	.comm	_xo_close_file,4,2              ; @xo_close_file
	.comm	_xo_flush_file,4,2              ; @xo_flush_file
.subsections_via_symbols
