	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ws_openfifo_in
_ws_openfifo_in:                        ## @ws_openfifo_in
	.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, %r14
	movq	_wsconfig@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_ws_setfifo
	movl	(%rbx), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_open
	movl	%eax, (%r14)
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_FATAL
	movl	(%r14), %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_wsconfig,4,2                   ## @wsconfig
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to open fifo in: %s."

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_ws_openfifo_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ws_openfifo_in
_ws_openfifo_in:                        ; @ws_openfifo_in
	.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	x20, _wsconfig@GOTPAGE
Lloh1:
	ldr	x20, [x20, _wsconfig@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ws_setfifo
Lloh2:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_open
	str	w0, [x19]
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FATAL
	ldr	w0, [x19]
LBB0_2:
	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 AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_wsconfig,4,2                   ; @wsconfig
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to open fifo in: %s."

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_ws_openfifo_in
.subsections_via_symbols
