	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __aaci_pcm_open
___aaci_pcm_open:                       ## @__aaci_pcm_open
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	(%rsi), %rdi
	movq	%rsi, (%rdx)
	movq	%rdx, 8(%rdi)
	movq	_aaci_hw_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	movl	(%rbx), %eax
	addl	%eax, %eax
	movl	%eax, (%rdi)
	movq	_SNDRV_PCM_HW_PARAM_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_aaci_rule_rate_by_channels@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SNDRV_PCM_HW_PARAM_CHANNELS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movq	%rbx, %r8
	pushq	$-1
	pushq	%rdx
	callq	_snd_pcm_hw_rule_add
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	_aaci_irq@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %rax
	movq	_IRQF_DISABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_DRIVER_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_3
LBB0_2:
	movl	%eax, %r14d
LBB0_3:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aaci_hw_info,4,2               ## @aaci_hw_info
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ## @SNDRV_PCM_HW_PARAM_RATE
	.comm	_aaci_rule_rate_by_channels,4,2 ## @aaci_rule_rate_by_channels
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ## @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_aaci_irq,4,2                   ## @aaci_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_IRQF_DISABLED,4,2              ## @IRQF_DISABLED
	.comm	_DRIVER_NAME,4,2                ## @DRIVER_NAME
	.no_dead_strip	___aaci_pcm_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __aaci_pcm_open
___aaci_pcm_open:                       ; @__aaci_pcm_open
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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, [x1]
	str	x1, [x2]
	str	x2, [x0, #8]
Lloh0:
	adrp	x8, _aaci_hw_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aaci_hw_info@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
	ldr	w8, [x19]
	lsl	w8, w8, #1
	str	w8, [x0]
Lloh3:
	adrp	x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_RATE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _aaci_rule_rate_by_channels@GOTPAGE
Lloh7:
	ldr	x8, [x8, _aaci_rule_rate_by_channels@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SNDRV_PCM_HW_PARAM_CHANNELS@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	w1, #0
	mov	x4, x19
	mov	x6, x2
	mov	w7, #-1
	bl	_snd_pcm_hw_rule_add
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _aaci_irq@GOTPAGE
Lloh13:
	ldr	x9, [x9, _aaci_irq@GOTPAGEOFF]
	ldr	w0, [x8]
Lloh14:
	ldr	w1, [x9]
Lloh15:
	adrp	x8, _IRQF_SHARED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IRQF_SHARED@GOTPAGEOFF]
Lloh17:
	adrp	x9, _IRQF_DISABLED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IRQF_DISABLED@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh21:
	adrp	x8, _DRIVER_NAME@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DRIVER_NAME@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
	mov	x4, x19
	bl	_request_irq
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_aaci_hw_info,4,2               ; @aaci_hw_info
	.comm	_SNDRV_PCM_HW_PARAM_RATE,4,2    ; @SNDRV_PCM_HW_PARAM_RATE
	.comm	_aaci_rule_rate_by_channels,4,2 ; @aaci_rule_rate_by_channels
	.comm	_SNDRV_PCM_HW_PARAM_CHANNELS,4,2 ; @SNDRV_PCM_HW_PARAM_CHANNELS
	.comm	_aaci_irq,4,2                   ; @aaci_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_IRQF_DISABLED,4,2              ; @IRQF_DISABLED
	.comm	_DRIVER_NAME,4,2                ; @DRIVER_NAME
	.no_dead_strip	___aaci_pcm_open
.subsections_via_symbols
