	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function daio_rsc_init
_daio_rsc_init:                         ## @daio_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
	subq	$24, %rsp
	.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, %r15
	movl	(%rdx), %eax
	cmpl	$128, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.2:
	movq	_idx_20k1@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_idx_20k2@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rcx
	movq	(%r15), %rdx
	leaq	(%rcx,%rdx,8), %rax
	leaq	(%rcx,%rdx,8), %rcx
	addq	$4, %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	(%rax), %esi
	leaq	8(%rdi), %r14
	movq	_DAIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r15), %ecx
	movq	%rdi, %r12
	movq	%r14, %rdi
	movq	%rbx, %r8
	callq	_rsc_init
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.5:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	16(%r12), %r14
	movq	_DAIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	8(%r15), %ecx
	movq	%r14, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %r8
	callq	_rsc_init
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movl	%eax, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rsc_uninit
	jmp	LBB0_17
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_17
LBB0_8:
	movq	(%r15), %rax
	movq	_DAIO_OUT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_12
## %bb.9:
	movl	(%rbx), %ecx
	cmpl	$129, %ecx
	je	LBB0_13
## %bb.10:
	cmpl	$128, %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jne	LBB0_16
## %bb.11:
	movq	_daio_in_rsc_ops_20k2@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_12:
	movq	_daio_out_rsc_ops@GOTPCREL(%rip), %rcx
	jmp	LBB0_14
LBB0_13:
	movq	_daio_in_rsc_ops_20k1@GOTPCREL(%rip), %rcx
LBB0_14:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_15:
	movq	%rcx, (%r14)
	movq	%rcx, (%rdx)
LBB0_16:
	movq	%rax, (%r12)
	xorl	%r13d, %r13d
LBB0_17:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idx_20k1,8,3                   ## @idx_20k1
	.comm	_idx_20k2,8,3                   ## @idx_20k2
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_DAIO,4,2                       ## @DAIO
	.comm	_DAIO_OUT_MAX,8,3               ## @DAIO_OUT_MAX
	.comm	_daio_out_rsc_ops,4,2           ## @daio_out_rsc_ops
	.comm	_daio_in_rsc_ops_20k1,4,2       ## @daio_in_rsc_ops_20k1
	.comm	_daio_in_rsc_ops_20k2,4,2       ## @daio_in_rsc_ops_20k2
	.no_dead_strip	_daio_rsc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function daio_rsc_init
_daio_rsc_init:                         ; @daio_rsc_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x2]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _idx_20k1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _idx_20k1@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _idx_20k2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _idx_20k2@GOTPAGEOFF]
LBB0_4:
	ldr	x8, [x8]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #3
	add	x9, x8, #4
	ldr	w24, [x9]
	ldr	w1, [x8]
	add	x22, x19, #8
Lloh4:
	adrp	x26, _DAIO@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DAIO@GOTPAGEOFF]
	ldr	w2, [x26]
	ldr	w3, [x21, #8]
	mov	x0, x22
	mov	x4, x20
	bl	_rsc_init
	mov	x25, x0
	cbnz	w0, LBB0_16
; %bb.5:
	add	x23, x19, #16
	ldr	w2, [x26]
	ldr	w3, [x21, #8]
	mov	x0, x23
	mov	x1, x24
	mov	x4, x20
	bl	_rsc_init
	cbz	w0, LBB0_8
; %bb.6:
	mov	x25, x0
	mov	x0, x22
	bl	_rsc_uninit
	b	LBB0_16
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w25, w8
	b	LBB0_16
LBB0_8:
	ldr	x8, [x21]
Lloh9:
	adrp	x9, _DAIO_OUT_MAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DAIO_OUT_MAX@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_12
; %bb.9:
	ldr	w9, [x20]
	cmp	w9, #129
	b.eq	LBB0_13
; %bb.10:
	cmp	w9, #128
	b.ne	LBB0_15
; %bb.11:
Lloh12:
	adrp	x9, _daio_in_rsc_ops_20k2@GOTPAGE
Lloh13:
	ldr	x9, [x9, _daio_in_rsc_ops_20k2@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:
Lloh14:
	adrp	x9, _daio_out_rsc_ops@GOTPAGE
Lloh15:
	ldr	x9, [x9, _daio_out_rsc_ops@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh16:
	adrp	x9, _daio_in_rsc_ops_20k1@GOTPAGE
Lloh17:
	ldr	x9, [x9, _daio_in_rsc_ops_20k1@GOTPAGEOFF]
LBB0_14:
	str	x9, [x23]
	str	x9, [x22]
LBB0_15:
	mov	w25, #0
	str	x8, [x19]
LBB0_16:
	mov	x0, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_idx_20k1,8,3                   ; @idx_20k1
	.comm	_idx_20k2,8,3                   ; @idx_20k2
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_DAIO,4,2                       ; @DAIO
	.comm	_DAIO_OUT_MAX,8,3               ; @DAIO_OUT_MAX
	.comm	_daio_out_rsc_ops,4,2           ; @daio_out_rsc_ops
	.comm	_daio_in_rsc_ops_20k1,4,2       ; @daio_in_rsc_ops_20k1
	.comm	_daio_in_rsc_ops_20k2,4,2       ; @daio_in_rsc_ops_20k2
	.no_dead_strip	_daio_rsc_init
.subsections_via_symbols
