	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pdacf_pcm_new              ## -- Begin function snd_pdacf_pcm_new
	.p2align	4, 0x90
_snd_pdacf_pcm_new:                     ## @snd_pdacf_pcm_new
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-24(%rbp), %r9
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_snd_pcm_new
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	-24(%rbp), %rdi
	movq	_SNDRV_PCM_STREAM_CAPTURE@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	movq	_pdacf_pcm_capture_ops@GOTPCREL(%rip), %rdx
	callq	_snd_pcm_set_ops
	movq	-24(%rbp), %rax
	movq	%rbx, 24(%rax)
	movq	$0, 16(%rax)
	movl	8(%rax), %edi
	movq	16(%rbx), %rax
	movl	(%rax), %esi
	callq	_strcpy
	movq	-24(%rbp), %rax
	movq	%rax, 8(%rbx)
	movl	(%rbx), %edi
	movq	(%rax), %rax
	movq	(%r14), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_snd_ak4117_build
	movl	%eax, %ecx
	sarl	$31, %eax
	andl	%ecx, %eax
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PDAudioCF"

	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ## @SNDRV_PCM_STREAM_CAPTURE
	.comm	_pdacf_pcm_capture_ops,4,2      ## @pdacf_pcm_capture_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_pdacf_pcm_new              ; -- Begin function snd_pdacf_pcm_new
	.p2align	2
_snd_pdacf_pcm_new:                     ; @snd_pdacf_pcm_new
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x5, sp, #8
	mov	w2, #0
	mov	w3, #0
	mov	w4, #1
	bl	_snd_pcm_new
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
Lloh2:
	adrp	x20, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _SNDRV_PCM_STREAM_CAPTURE@GOTPAGEOFF]
	ldr	x1, [x20]
Lloh4:
	adrp	x2, _pdacf_pcm_capture_ops@GOTPAGE
Lloh5:
	ldr	x2, [x2, _pdacf_pcm_capture_ops@GOTPAGEOFF]
	bl	_snd_pcm_set_ops
	ldr	x8, [sp, #8]
	stp	xzr, x19, [x8, #16]
	ldr	w0, [x8, #8]
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	bl	_strcpy
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
	ldr	w0, [x19]
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w1, [x8, x9, lsl #2]
	bl	_snd_ak4117_build
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PDAudioCF"

	.comm	_SNDRV_PCM_STREAM_CAPTURE,8,3   ; @SNDRV_PCM_STREAM_CAPTURE
	.comm	_pdacf_pcm_capture_ops,4,2      ; @pdacf_pcm_capture_ops
.subsections_via_symbols
