	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcm_req
_pcm_req:                               ## @pcm_req
	.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	%rsi, %r12
	movq	%rdi, %r15
	movq	64(%rdi), %rax
	movq	_CARD_MAE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.1:
	leaq	40(%r15), %r14
	leaq	L_.str(%rip), %r13
	leaq	-44(%rbp), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_diva_os_enter_spin_lock
	movq	%r12, 48(%r15)
	movl	$1, (%r15)
	leaq	56(%r15), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_diva_os_schedule_soft_isr
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_diva_os_leave_spin_lock
	cmpl	$0, 4(%r15)
	movl	$251, %eax
	movl	$3001, %r12d                    ## imm = 0xBB9
	cmovel	%eax, %r12d
	leaq	L_.str.2(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_diva_os_sleep
	cmpl	$3, (%r15)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_diva_os_enter_spin_lock
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_diva_os_schedule_soft_isr
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_diva_os_leave_spin_lock
	decl	%r12d
	cmpl	$1, %r12d
	jg	LBB0_2
## %bb.5:
	leaq	L_.str.3(%rip), %rbx
	leaq	-44(%rbp), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_diva_os_enter_spin_lock
	movl	$0, (%r15)
	movq	$0, 48(%r15)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_diva_os_leave_spin_lock
LBB0_6:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.7:
	movl	4(%r15), %ebx
	movq	%r15, %rdi
	callq	*%rax
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.8:
	cmpl	$0, 4(%r15)
	je	LBB0_11
## %bb.9:
	movq	16(%r15), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	8(%r15), %esi
	movq	%r15, %rdi
	callq	*%rax
	jmp	LBB0_11
LBB0_12:
	leaq	72(%r15), %r14
	movq	32(%r15), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	*88(%r15)
	movq	32(%r15), %rsi
	addq	$4, %rsi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	*88(%r15)
	cmpl	$0, 4(%r15)
	movl	$251, %eax
	movl	$3001, %ebx                     ## imm = 0xBB9
	cmovel	%eax, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	decl	%ebx
	cmpl	$2, %ebx
	jl	LBB0_6
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	$1, %edi
	callq	_diva_os_sleep
	movq	32(%r15), %rsi
	movq	%r14, %rdi
	callq	*80(%r15)
	testl	%eax, %eax
	je	LBB0_13
## %bb.15:
	movq	32(%r15), %rsi
	movq	72(%r15), %rax
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	$4, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	leaq	L_.str.1(%rip), %rbx
	leaq	-44(%rbp), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_diva_os_enter_spin_lock
	movl	$0, (%r15)
	movq	$0, 48(%r15)
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_diva_os_leave_spin_lock
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CARD_MAE,8,3                   ## @CARD_MAE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"data_pcm_1"

L_.str.1:                               ## @.str.1
	.asciz	"data_pcm_3"

L_.str.2:                               ## @.str.2
	.asciz	"data_pcm_2"

L_.str.3:                               ## @.str.3
	.asciz	"data_pcm_4"

	.no_dead_strip	_pcm_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcm_req
_pcm_req:                               ; @pcm_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0, #64]
Lloh0:
	adrp	x9, _CARD_MAE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CARD_MAE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.1:
	add	x20, x19, #40
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x22
	bl	_diva_os_enter_spin_lock
	str	x21, [x19, #48]
	mov	w8, #1
	str	w8, [x19]
	add	x21, x19, #56
	mov	x0, x21
	bl	_diva_os_schedule_soft_isr
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x22
	bl	_diva_os_leave_spin_lock
	ldr	w8, [x19, #4]
	mov	w9, #3001
	mov	w10, #251
	cmp	w8, #0
	csel	w23, w10, w9, eq
Lloh5:
	adrp	x22, l_.str.2@PAGE
Lloh6:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_diva_os_sleep
	ldr	w8, [x19]
	cmp	w8, #3
	b.eq	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x22
	bl	_diva_os_enter_spin_lock
	mov	x0, x21
	bl	_diva_os_schedule_soft_isr
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x22
	bl	_diva_os_leave_spin_lock
	sub	w23, w23, #1
	cmp	w23, #1
	b.gt	LBB0_2
; %bb.4:
Lloh7:
	adrp	x21, l_.str.3@PAGE
Lloh8:
	add	x21, x21, l_.str.3@PAGEOFF
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x21
	bl	_diva_os_enter_spin_lock
	str	wzr, [x19]
	str	xzr, [x19, #48]
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x21
	bl	_diva_os_leave_spin_lock
LBB0_5:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_15
; %bb.6:
	ldr	w20, [x19, #4]
	mov	x0, x19
	blr	x8
	cbnz	w20, LBB0_15
; %bb.7:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_15
; %bb.8:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_15
; %bb.9:
	ldr	w1, [x19, #8]
	mov	x0, x19
	blr	x8
	b	LBB0_15
LBB0_10:
	add	x20, x19, #72
	ldr	x8, [x19, #88]
	ldr	x1, [x19, #32]
	mov	x0, x20
	mov	w2, #0
	blr	x8
	ldr	x8, [x19, #88]
	ldr	x9, [x19, #32]
	add	x1, x9, #4
	ldr	w2, [x21]
	mov	x0, x20
	blr	x8
	ldr	w8, [x19, #4]
	mov	w9, #3001
	mov	w10, #251
	cmp	w8, #0
	csel	w22, w10, w9, eq
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	cmp	w22, #2
	b.lt	LBB0_5
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #1
	bl	_diva_os_sleep
	ldr	x8, [x19, #80]
	ldr	x1, [x19, #32]
	mov	x0, x20
	blr	x8
	cbz	w0, LBB0_11
; %bb.13:
	ldr	x4, [x19, #72]
	ldr	x1, [x19, #32]
	mov	x0, x20
	mov	x2, x21
	mov	w3, #4
	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
	add	sp, sp, #80
	br	x4
LBB0_14:
Lloh9:
	adrp	x21, l_.str.1@PAGE
Lloh10:
	add	x21, x21, l_.str.1@PAGEOFF
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x21
	bl	_diva_os_enter_spin_lock
	str	wzr, [x19]
	str	xzr, [x19, #48]
	add	x1, sp, #12
	mov	x0, x20
	mov	x2, x21
	bl	_diva_os_leave_spin_lock
LBB0_15:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CARD_MAE,8,3                   ; @CARD_MAE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"data_pcm_1"

l_.str.1:                               ; @.str.1
	.asciz	"data_pcm_3"

l_.str.2:                               ; @.str.2
	.asciz	"data_pcm_2"

l_.str.3:                               ; @.str.3
	.asciz	"data_pcm_4"

	.no_dead_strip	_pcm_req
.subsections_via_symbols
