	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EnumAudioDeviceInterfaces      ## -- Begin function EnumAudioDeviceInterfaces
	.p2align	4, 0x90
_EnumAudioDeviceInterfaces:             ## @EnumAudioDeviceInterfaces
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_STATIC_KSCATEGORY_AUDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	callq	_OpenDeviceList
	movq	%rax, %r14
	movq	_ERROR_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r14
	jne	LBB0_1
## %bb.2:
	movl	-44(%rbp), %edi
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdx
	callq	_GetDeviceListInterfaces
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	(%rbx), %rdi
	callq	_ASSERT
	movq	(%rbx), %rbx
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.6:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %r12
	leaq	-72(%rbp), %r13
	movq	_S_OK@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_EnumerateAudioFilter
	movq	%rax, %r15
	cmpq	(%r14), %rax
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_7
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_DPRINT1
	movq	_E_FAIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_11
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DPRINT1
	movl	-44(%rbp), %edi
	callq	_CloseDeviceList
	movq	_S_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_11
LBB0_5:
                                        ## implicit-def: $r15
	jmp	LBB0_10
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_DPRINT1
LBB0_10:
	movl	-44(%rbp), %edi
	callq	_CloseDeviceList
LBB0_11:
	movq	%r15, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STATIC_KSCATEGORY_AUDIO,4,2    ## @STATIC_KSCATEGORY_AUDIO
	.comm	_ERROR_SUCCESS,8,3              ## @ERROR_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OpenDeviceList failed with %lx\n"

	.comm	_E_FAIL,8,3                     ## @E_FAIL
L_.str.1:                               ## @.str.1
	.asciz	"No devices found\n"

	.comm	_S_FALSE,8,3                    ## @S_FALSE
	.comm	_S_OK,8,3                       ## @S_OK
L_.str.2:                               ## @.str.2
	.asciz	"EnumerateAudioFilter failed with %lx\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EnumAudioDeviceInterfaces      ; -- Begin function EnumAudioDeviceInterfaces
	.p2align	2
_EnumAudioDeviceInterfaces:             ; @EnumAudioDeviceInterfaces
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x0
Lloh0:
	adrp	x8, _STATIC_KSCATEGORY_AUDIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATIC_KSCATEGORY_AUDIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	add	x0, sp, #16
	sub	x1, x29, #36
	bl	_OpenDeviceList
	mov	x19, x0
Lloh3:
	adrp	x8, _ERROR_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.1:
	ldur	w0, [x29, #-36]
	add	x1, sp, #16
	mov	x2, x20
	bl	_GetDeviceListInterfaces
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x0, [x20]
	bl	_ASSERT
	ldr	x21, [x20]
	stp	xzr, xzr, [sp, #24]
	cbz	x21, LBB0_8
; %bb.3:
Lloh6:
	adrp	x22, _S_OK@GOTPAGE
Lloh7:
	ldr	x22, [x22, _S_OK@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #24
	add	x2, sp, #32
	mov	x0, x21
	bl	_EnumerateAudioFilter
	mov	x20, x0
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x21]
	cbnz	x21, LBB0_4
	b	LBB0_10
LBB0_6:
	str	x19, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DPRINT1
Lloh10:
	adrp	x8, _E_FAIL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _E_FAIL@GOTPAGEOFF]
Lloh12:
	ldr	x20, [x8]
	b	LBB0_11
LBB0_7:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DPRINT1
	ldur	w0, [x29, #-36]
	bl	_CloseDeviceList
Lloh15:
	adrp	x8, _S_FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _S_FALSE@GOTPAGEOFF]
Lloh17:
	ldr	x20, [x8]
	b	LBB0_11
LBB0_8:
                                        ; implicit-def: $x20
	b	LBB0_10
LBB0_9:
	str	x19, [sp]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_DPRINT1
LBB0_10:
	ldur	w0, [x29, #-36]
	bl	_CloseDeviceList
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_STATIC_KSCATEGORY_AUDIO,4,2    ; @STATIC_KSCATEGORY_AUDIO
	.comm	_ERROR_SUCCESS,8,3              ; @ERROR_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OpenDeviceList failed with %lx\n"

	.comm	_E_FAIL,8,3                     ; @E_FAIL
l_.str.1:                               ; @.str.1
	.asciz	"No devices found\n"

	.comm	_S_FALSE,8,3                    ; @S_FALSE
	.comm	_S_OK,8,3                       ; @S_OK
l_.str.2:                               ; @.str.2
	.asciz	"EnumerateAudioFilter failed with %lx\n"

.subsections_via_symbols
