	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cuse_alloc_unit_number         ## -- Begin function cuse_alloc_unit_number
	.p2align	4, 0x90
_cuse_alloc_unit_number:                ## @cuse_alloc_unit_number
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rdx
	movq	_f_cuse@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_1
## %bb.2:
	movq	_CUSE_IOCTL_ALLOC_UNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ioctl
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	_CUSE_ERR_NO_MEMORY@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_CUSE_ERR_INVALID@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_f_cuse,8,3                     ## @f_cuse
	.comm	_CUSE_ERR_INVALID,4,2           ## @CUSE_ERR_INVALID
	.comm	_CUSE_IOCTL_ALLOC_UNIT,4,2      ## @CUSE_IOCTL_ALLOC_UNIT
	.comm	_CUSE_ERR_NO_MEMORY,4,2         ## @CUSE_ERR_NO_MEMORY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cuse_alloc_unit_number         ; -- Begin function cuse_alloc_unit_number
	.p2align	2
_cuse_alloc_unit_number:                ; @cuse_alloc_unit_number
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x0
Lloh0:
	adrp	x8, _f_cuse@GOTPAGE
Lloh1:
	ldr	x8, [x8, _f_cuse@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _CUSE_IOCTL_ALLOC_UNIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CUSE_IOCTL_ALLOC_UNIT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ioctl
Lloh6:
	adrp	x8, _CUSE_ERR_NO_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CUSE_ERR_NO_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, wzr, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh9:
	adrp	x8, _CUSE_ERR_INVALID@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CUSE_ERR_INVALID@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_f_cuse,8,3                     ; @f_cuse
	.comm	_CUSE_ERR_INVALID,4,2           ; @CUSE_ERR_INVALID
	.comm	_CUSE_IOCTL_ALLOC_UNIT,4,2      ; @CUSE_IOCTL_ALLOC_UNIT
	.comm	_CUSE_ERR_NO_MEMORY,4,2         ; @CUSE_ERR_NO_MEMORY
.subsections_via_symbols
