	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cuse_init                      ## -- Begin function cuse_init
	.p2align	4, 0x90
_cuse_init:                             ## @cuse_init
	.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	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movq	_f_cuse@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	leaq	-12(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_pthread_mutexattr_init
	movq	_PTHREAD_MUTEX_RECURSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_pthread_mutexattr_settype
	movq	_m_cuse@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_pthread_mutex_init
	movq	_h_cuse@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	movq	_h_cuse_entered@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_feature_present
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_CUSE_ERR_INVALID@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_CUSE_ERR_NOT_LOADED@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/cuse"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_f_cuse,8,3                     ## @f_cuse
L_.str.1:                               ## @.str.1
	.asciz	"cuse"

	.comm	_CUSE_ERR_NOT_LOADED,4,2        ## @CUSE_ERR_NOT_LOADED
	.comm	_CUSE_ERR_INVALID,4,2           ## @CUSE_ERR_INVALID
	.comm	_PTHREAD_MUTEX_RECURSIVE,4,2    ## @PTHREAD_MUTEX_RECURSIVE
	.comm	_m_cuse,4,2                     ## @m_cuse
	.comm	_h_cuse,4,2                     ## @h_cuse
	.comm	_h_cuse_entered,4,2             ## @h_cuse_entered
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cuse_init                      ; -- Begin function cuse_init
	.p2align	2
_cuse_init:                             ; @cuse_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
Lloh5:
	adrp	x8, _f_cuse@GOTPAGE
Lloh6:
	ldr	x8, [x8, _f_cuse@GOTPAGEOFF]
Lloh7:
	str	x0, [x8]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	sub	x0, x29, #4
	bl	_pthread_mutexattr_init
Lloh8:
	adrp	x8, _PTHREAD_MUTEX_RECURSIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PTHREAD_MUTEX_RECURSIVE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	sub	x0, x29, #4
	bl	_pthread_mutexattr_settype
Lloh11:
	adrp	x0, _m_cuse@GOTPAGE
Lloh12:
	ldr	x0, [x0, _m_cuse@GOTPAGEOFF]
	sub	x1, x29, #4
	bl	_pthread_mutex_init
Lloh13:
	adrp	x0, _h_cuse@GOTPAGE
Lloh14:
	ldr	x0, [x0, _h_cuse@GOTPAGEOFF]
	bl	_TAILQ_INIT
Lloh15:
	adrp	x0, _h_cuse_entered@GOTPAGE
Lloh16:
	ldr	x0, [x0, _h_cuse_entered@GOTPAGEOFF]
	bl	_TAILQ_INIT
	mov	w0, #0
	b	LBB0_6
LBB0_2:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_feature_present
	cbz	x0, LBB0_4
; %bb.3:
Lloh19:
	adrp	x8, _CUSE_ERR_INVALID@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CUSE_ERR_INVALID@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh21:
	adrp	x8, _CUSE_ERR_NOT_LOADED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CUSE_ERR_NOT_LOADED@GOTPAGEOFF]
LBB0_5:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/cuse"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_f_cuse,8,3                     ; @f_cuse
l_.str.1:                               ; @.str.1
	.asciz	"cuse"

	.comm	_CUSE_ERR_NOT_LOADED,4,2        ; @CUSE_ERR_NOT_LOADED
	.comm	_CUSE_ERR_INVALID,4,2           ; @CUSE_ERR_INVALID
	.comm	_PTHREAD_MUTEX_RECURSIVE,4,2    ; @PTHREAD_MUTEX_RECURSIVE
	.comm	_m_cuse,4,2                     ; @m_cuse
	.comm	_h_cuse,4,2                     ; @h_cuse
	.comm	_h_cuse_entered,4,2             ; @h_cuse_entered
.subsections_via_symbols
