	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dao_rsc_init
_dao_rsc_init:                          ## @dao_rsc_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	8(%rdx), %r14
	movq	%r14, %rdx
	callq	_daio_rsc_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movl	(%r12), %edi
	shll	$4, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	_dao_ops@GOTPCREL(%rip), %rax
	movq	%rax, 40(%r13)
	movq	%r15, 32(%r13)
	movq	%r14, 24(%r13)
	leaq	16(%r13), %rdi
	callq	*(%r14)
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movl	%eax, %ebx
	movq	8(%r13), %rdi
	callq	_kfree
	movq	$0, 8(%r13)
	jmp	LBB0_6
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movq	%r13, %rdi
	callq	_daio_rsc_uninit
	jmp	LBB0_7
LBB0_4:
	movq	32(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ebx
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_daio_device_index
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	*8(%r14)
	movl	(%r12), %eax
	movl	4(%r12), %ecx
	andl	$7, %eax
	leal	(%rax,%rcx,8), %r12d
	movq	24(%r14), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %ebx
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_daio_device_index
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	movq	16(%r14), %r12
	movl	(%r15), %ebx
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_daio_device_index
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	*%r12
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	*8(%r14)
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dao_ops,4,2                    ## @dao_ops
	.no_dead_strip	_dao_rsc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dao_rsc_init
_dao_rsc_init:                          ; @dao_rsc_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x21, [x2, #8]
	mov	x2, x21
	bl	_daio_rsc_init
	mov	x23, x0
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	w8, [x22]
	lsl	w0, w8, #4
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _dao_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dao_ops@GOTPAGEOFF]
	stp	x20, x8, [x19, #32]
	str	x21, [x19, #24]
	ldr	x8, [x21]
	add	x0, x19, #16
	blr	x8
	cbz	w0, LBB0_6
; %bb.3:
	mov	x23, x0
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_5:
	mov	x0, x19
	bl	_daio_rsc_uninit
	b	LBB0_7
LBB0_6:
	ldr	x24, [x21, #32]
	ldr	w23, [x20]
	ldr	w0, [x19]
	mov	x1, x21
	bl	_daio_device_index
	mov	x1, x0
	mov	x0, x23
	blr	x24
	ldr	x8, [x21, #8]
	ldr	w1, [x20]
	mov	x0, x21
	blr	x8
	ldp	w23, w8, [x22]
	bfi	w23, w8, #3, #29
	ldr	x24, [x21, #24]
	ldr	w22, [x20]
	ldr	w0, [x19]
	mov	x1, x21
	bl	_daio_device_index
	mov	x1, x0
	mov	x0, x22
	mov	x2, x23
	blr	x24
	ldr	x23, [x21, #16]
	ldr	w22, [x20]
	ldr	w0, [x19]
	mov	x1, x21
	bl	_daio_device_index
	mov	x1, x0
	mov	x0, x22
	blr	x23
	ldr	x8, [x21, #8]
	ldr	w1, [x20]
	mov	x0, x21
	blr	x8
	mov	w23, #0
LBB0_7:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dao_ops,4,2                    ; @dao_ops
	.no_dead_strip	_dao_rsc_init
.subsections_via_symbols
