	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_create_hwdep           ## -- Begin function snd_hda_create_hwdep
	.p2align	4, 0x90
_snd_hda_create_hwdep:                  ## @snd_hda_create_hwdep
	.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	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	callq	_sprintf
	movq	32(%rbx), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	leaq	-56(%rbp), %rcx
	movq	%r14, %rsi
	callq	_snd_hwdep_new
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	-56(%rbp), %rax
	movq	%rax, 24(%rbx)
	movq	(%rax), %rdi
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movq	_SNDRV_HWDEP_IFACE_HDA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx
	movl	%eax, 40(%rcx)
	movq	%rbx, 32(%rcx)
	movq	_hwdep_free@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rcx)
	movl	$1, 8(%rcx)
	movq	_hda_hwdep_open@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rcx)
	movq	_hda_hwdep_ioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rcx)
	leaq	16(%rbx), %rdi
	callq	_mutex_init
	leaq	12(%rbx), %rdi
	movl	$4, %esi
	movl	$32, %edx
	callq	_snd_array_init
	leaq	8(%rbx), %rdi
	movl	$4, %esi
	movl	$32, %edx
	callq	_snd_array_init
	addq	$4, %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	movl	$16, %edx
	callq	_snd_array_init
	xorl	%eax, %eax
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HDA Codec %d"

	.comm	_SNDRV_HWDEP_IFACE_HDA,4,2      ## @SNDRV_HWDEP_IFACE_HDA
	.comm	_hwdep_free,4,2                 ## @hwdep_free
	.comm	_hda_hwdep_open,4,2             ## @hda_hwdep_open
	.comm	_hda_hwdep_ioctl,4,2            ## @hda_hwdep_ioctl
	.comm	_hda_hwdep_ioctl_compat,4,2     ## @hda_hwdep_ioctl_compat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_create_hwdep           ; -- Begin function snd_hda_create_hwdep
	.p2align	2
_snd_hda_create_hwdep:                  ; @snd_hda_create_hwdep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w2, [x0]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_sprintf
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	ldr	w2, [x19]
	add	x1, sp, #8
	mov	x3, sp
	bl	_snd_hwdep_new
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [sp]
	str	x8, [x19, #24]
	ldr	x0, [x8]
	ldr	w2, [x19]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
Lloh7:
	adrp	x8, _SNDRV_HWDEP_IFACE_HDA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SNDRV_HWDEP_IFACE_HDA@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	x9, [sp]
	str	w8, [x9, #40]
	str	x19, [x9, #32]
Lloh10:
	adrp	x8, _hwdep_free@GOTPAGE
Lloh11:
	ldr	x8, [x8, _hwdep_free@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x9, #24]
	mov	w8, #1
	str	w8, [x9, #8]
Lloh13:
	adrp	x8, _hda_hwdep_open@GOTPAGE
Lloh14:
	ldr	x8, [x8, _hda_hwdep_open@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x10, _hda_hwdep_ioctl@GOTPAGE
Lloh17:
	ldr	x10, [x10, _hda_hwdep_ioctl@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #16]
	add	x0, x19, #16
	bl	_mutex_init
	add	x0, x19, #12
	mov	w1, #4
	mov	w2, #32
	bl	_snd_array_init
	add	x0, x19, #8
	mov	w1, #4
	mov	w2, #32
	bl	_snd_array_init
	add	x0, x19, #4
	mov	w1, #4
	mov	w2, #16
	bl	_snd_array_init
	mov	w0, #0
LBB0_2:
	ldr	x8, [sp, #24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HDA Codec %d"

	.comm	_SNDRV_HWDEP_IFACE_HDA,4,2      ; @SNDRV_HWDEP_IFACE_HDA
	.comm	_hwdep_free,4,2                 ; @hwdep_free
	.comm	_hda_hwdep_open,4,2             ; @hda_hwdep_open
	.comm	_hda_hwdep_ioctl,4,2            ; @hda_hwdep_ioctl
	.comm	_hda_hwdep_ioctl_compat,4,2     ; @hda_hwdep_ioctl_compat
.subsections_via_symbols
