	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_ice1712_akm4xxx_init       ## -- Begin function snd_ice1712_akm4xxx_init
	.p2align	4, 0x90
_snd_ice1712_akm4xxx_init:              ## @snd_ice1712_akm4xxx_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	(%r12), %ecx
	movl	%ecx, (%rax)
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	movups	(%r15), %xmm0
	movups	16(%r15), %xmm1
	movups	32(%r15), %xmm2
	movups	%xmm2, 32(%rbx)
	movups	%xmm1, 16(%rbx)
	movups	%xmm0, (%rbx)
	movl	(%r14), %ecx
	movl	%ecx, 40(%rbx)
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	32(%rbx), %rax
	movq	%r14, (%rax)
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.7:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
LBB0_9:
	cmpq	$0, 8(%rbx)
	je	LBB0_10
LBB0_11:
	movq	%rbx, %rdi
	callq	_snd_akm4xxx_init
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_6:
	movq	_snd_ice1712_akm4xxx_lock@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	cmpq	$0, 16(%rbx)
	jne	LBB0_9
LBB0_8:
	movq	_snd_ice1712_akm4xxx_unlock@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rbx)
	cmpq	$0, 8(%rbx)
	jne	LBB0_11
LBB0_10:
	movq	_snd_ice1712_akm4xxx_write@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	jmp	LBB0_11
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_snd_ice1712_akm4xxx_lock,8,3   ## @snd_ice1712_akm4xxx_lock
	.comm	_snd_ice1712_akm4xxx_unlock,8,3 ## @snd_ice1712_akm4xxx_unlock
	.comm	_snd_ice1712_akm4xxx_write,8,3  ## @snd_ice1712_akm4xxx_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_ice1712_akm4xxx_init       ; -- Begin function snd_ice1712_akm4xxx_init
	.p2align	2
_snd_ice1712_akm4xxx_init:              ; @snd_ice1712_akm4xxx_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	cbz	x2, LBB0_3
; %bb.1:
	mov	x22, x2
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kmalloc
	cbz	x0, LBB0_11
; %bb.2:
	ldr	w8, [x22]
	str	w8, [x0]
	b	LBB0_4
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	q0, q1, [x21]
	ldr	q2, [x21, #32]
	stp	q1, q2, [x19, #16]
	str	q0, [x19]
	ldr	w8, [x20]
	str	w8, [x19, #40]
	ldr	x8, [x19]
	str	x0, [x8]
	ldr	x8, [x19, #32]
	str	x20, [x8]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
LBB0_6:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
LBB0_7:
	mov	x0, x19
	bl	_snd_akm4xxx_init
	mov	w0, #0
	b	LBB0_12
LBB0_8:
Lloh3:
	adrp	x8, _snd_ice1712_akm4xxx_lock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _snd_ice1712_akm4xxx_lock@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #24]
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_6
LBB0_9:
Lloh6:
	adrp	x8, _snd_ice1712_akm4xxx_unlock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _snd_ice1712_akm4xxx_unlock@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x8, [x19, #16]
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_7
LBB0_10:
Lloh9:
	adrp	x8, _snd_ice1712_akm4xxx_write@GOTPAGE
Lloh10:
	ldr	x8, [x8, _snd_ice1712_akm4xxx_write@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	b	LBB0_7
LBB0_11:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_snd_ice1712_akm4xxx_lock,8,3   ; @snd_ice1712_akm4xxx_lock
	.comm	_snd_ice1712_akm4xxx_unlock,8,3 ; @snd_ice1712_akm4xxx_unlock
	.comm	_snd_ice1712_akm4xxx_write,8,3  ; @snd_ice1712_akm4xxx_write
.subsections_via_symbols
