	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dai_rsc_init
_dai_rsc_init:                          ## @dai_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, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	(%rdx), %r14
	movq	%r14, %rdx
	callq	_daio_rsc_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	_dai_ops@GOTPCREL(%rip), %rax
	movq	%rax, 16(%r12)
	movq	(%rbx), %rax
	movq	%rax, 8(%r12)
	leaq	4(%r12), %rdi
	callq	*(%r14)
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_daio_rsc_uninit
	jmp	LBB0_7
LBB0_2:
	movl	(%r13), %eax
	xorl	%r15d, %r15d
	movl	$0, %esi
	cmpl	$2, %eax
	jb	LBB0_5
## %bb.3:
	xorl	%esi, %esi
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	incl	%esi
	shrl	%ecx
	cmpl	$3, %eax
	movl	%ecx, %eax
	ja	LBB0_4
LBB0_5:
	movl	4(%r12), %edi
	callq	*40(%r14)
	movl	4(%r12), %edi
	xorl	%esi, %esi
	callq	*32(%r14)
	movl	4(%r12), %edi
	xorl	%esi, %esi
	callq	*24(%r14)
	movl	4(%r12), %edi
	xorl	%esi, %esi
	callq	*16(%r14)
	movq	8(%r14), %rbx
	movl	(%r12), %edi
	movq	8(%r12), %rsi
	callq	_daio_device_index
	movl	4(%r12), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	*%rbx
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dai_ops,4,2                    ## @dai_ops
	.no_dead_strip	_dai_rsc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dai_rsc_init
_dai_rsc_init:                          ; @dai_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	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x2]
	mov	x2, x20
	bl	_daio_rsc_init
	mov	x23, x0
	cbnz	w0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _dai_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dai_ops@GOTPAGEOFF]
	ldr	x9, [x22]
	stp	x9, x8, [x19, #8]
	ldr	x8, [x20]
	add	x0, x19, #4
	blr	x8
	cbz	w0, LBB0_3
; %bb.2:
	mov	x23, x0
	mov	x0, x19
	bl	_daio_rsc_uninit
	b	LBB0_8
LBB0_3:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lo	LBB0_6
; %bb.4:
	mov	w1, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	w1, w1, #1
	lsr	w9, w8, #1
	cmp	w8, #3
	mov	x8, x9
	b.hi	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	w1, #0
LBB0_7:
	ldr	x8, [x20, #40]
	ldr	w0, [x19, #4]
	blr	x8
	ldr	x8, [x20, #32]
	ldr	w0, [x19, #4]
	mov	w1, #0
	blr	x8
	ldr	x8, [x20, #24]
	ldr	w0, [x19, #4]
	mov	w1, #0
	blr	x8
	ldr	x8, [x20, #16]
	ldr	w0, [x19, #4]
	mov	w1, #0
	blr	x8
	ldr	x21, [x20, #8]
	ldr	w0, [x19]
	ldr	x1, [x19, #8]
	bl	_daio_device_index
	mov	x1, x0
	ldr	w2, [x19, #4]
	mov	x0, x20
	blr	x21
	mov	w23, #0
LBB0_8:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_dai_ops,4,2                    ; @dai_ops
	.no_dead_strip	_dai_rsc_init
.subsections_via_symbols
