	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sd_is_fifo                     ## -- Begin function sd_is_fifo
	.p2align	4, 0x90
_sd_is_fifo:                            ## @sd_is_fifo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edi, %edi
	js	LBB0_1
## %bb.3:
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	-56(%rbp), %r12
	xorl	%r15d, %r15d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_fstat
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movl	-40(%rbp), %edi
	callq	_S_ISFIFO
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	testq	%r14, %r14
	je	LBB0_7
## %bb.8:
	leaq	-80(%rbp), %rbx
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_9
## %bb.10:
	movq	-80(%rbp), %rax
	movq	-72(%rbp), %rcx
	xorq	-56(%rbp), %rax
	xorq	-48(%rbp), %rcx
	xorl	%r15d, %r15d
	orq	%rax, %rcx
	sete	%r15b
	jmp	LBB0_11
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$1, %r15d
	jmp	LBB0_11
LBB0_9:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movq	_ENOTDIR@GOTPCREL(%rip), %rdx
	movl	%eax, %r15d
	negl	%r15d
	cmpl	(%rdx), %eax
	cmovel	%r12d, %r15d
	cmpl	(%rcx), %eax
	cmovel	%r12d, %r15d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ENOTDIR,4,2                    ## @ENOTDIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sd_is_fifo                     ; -- Begin function sd_is_fifo
	.p2align	2
_sd_is_fifo:                            ; @sd_is_fifo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	tbnz	w0, #31, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	add	x1, sp, #24
	mov	x0, x20
	bl	_fstat
	tbnz	x0, #63, LBB0_7
; %bb.2:
	ldr	w0, [sp, #40]
	bl	_S_ISFIFO
	cbz	w0, LBB0_9
; %bb.3:
	cbz	x19, LBB0_10
; %bb.4:
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	mov	x1, sp
	mov	x0, x19
	bl	_stat
	tbnz	x0, #63, LBB0_11
; %bb.5:
	ldp	x8, x9, [sp]
	ldp	x10, x11, [sp, #24]
	cmp	x8, x10
	ccmp	x9, x11, #0, eq
	cset	w0, eq
	b	LBB0_9
LBB0_6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x8, _errno@GOTPAGE
Lloh3:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	mov	w0, #1
	b	LBB0_9
LBB0_11:
Lloh4:
	adrp	x8, _errno@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _ENOENT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _ENOTDIR@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ENOTDIR@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	cmp	w8, w10
	ccmp	w8, w9, #4, ne
	csneg	w0, wzr, w8, eq
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ENOTDIR,4,2                    ; @ENOTDIR
.subsections_via_symbols
