	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_init_hwdep            ## -- Begin function snd_emux_init_hwdep
	.p2align	4, 0x90
_snd_emux_init_hwdep:                   ## @snd_emux_init_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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_SNDRV_EMUX_HWDEP_NAME@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	(%rdi), %edi
	movl	16(%rbx), %edx
	leaq	-24(%rbp), %rcx
	callq	_snd_hwdep_new
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movq	-24(%rbp), %rax
	movq	%rax, 8(%rbx)
	movl	24(%rax), %edi
	movl	(%r14), %esi
	callq	_strcpy
	movq	_SNDRV_HWDEP_IFACE_EMUX_WAVETABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-24(%rbp), %rcx
	movl	%eax, 20(%rcx)
	movq	_snd_emux_hwdep_ioctl@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rcx)
	movl	$1, (%rcx)
	movq	%rbx, 8(%rcx)
	movl	(%rbx), %edi
	callq	_snd_card_register
	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
	.comm	_SNDRV_EMUX_HWDEP_NAME,4,2      ## @SNDRV_EMUX_HWDEP_NAME
	.comm	_SNDRV_HWDEP_IFACE_EMUX_WAVETABLE,4,2 ## @SNDRV_HWDEP_IFACE_EMUX_WAVETABLE
	.comm	_snd_emux_hwdep_ioctl,4,2       ## @snd_emux_hwdep_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_emux_init_hwdep            ; -- Begin function snd_emux_init_hwdep
	.p2align	2
_snd_emux_init_hwdep:                   ; @snd_emux_init_hwdep
	.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	w0, [x0]
Lloh0:
	adrp	x20, _SNDRV_EMUX_HWDEP_NAME@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SNDRV_EMUX_HWDEP_NAME@GOTPAGEOFF]
	ldr	w1, [x20]
	ldr	w2, [x19, #16]
	add	x3, sp, #8
	bl	_snd_hwdep_new
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
	ldr	w0, [x8, #24]
	ldr	w1, [x20]
	bl	_strcpy
Lloh2:
	adrp	x8, _SNDRV_HWDEP_IFACE_EMUX_WAVETABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SNDRV_HWDEP_IFACE_EMUX_WAVETABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
Lloh5:
	adrp	x10, _snd_emux_hwdep_ioctl@GOTPAGE
Lloh6:
	ldr	x10, [x10, _snd_emux_hwdep_ioctl@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #16]
	mov	w8, #1
	str	w8, [x9]
	str	x19, [x9, #8]
	ldr	w0, [x19]
	bl	_snd_card_register
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SNDRV_EMUX_HWDEP_NAME,4,2      ; @SNDRV_EMUX_HWDEP_NAME
	.comm	_SNDRV_HWDEP_IFACE_EMUX_WAVETABLE,4,2 ; @SNDRV_HWDEP_IFACE_EMUX_WAVETABLE
	.comm	_snd_emux_hwdep_ioctl,4,2       ; @snd_emux_hwdep_ioctl
.subsections_via_symbols
