	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ADPCM_FormatTagDetails
_ADPCM_FormatTagDetails:                ## @ADPCM_FormatTagDetails
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpl	$130, %esi
	je	LBB0_6
## %bb.1:
	cmpl	$131, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$132, %esi
	jne	LBB0_10
## %bb.3:
	movl	4(%rbx), %eax
	jmp	LBB0_7
LBB0_4:
	movl	(%rbx), %eax
	cmpl	$1, %eax
	jg	LBB0_5
## %bb.13:
	movq	_ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rbx)
	je	LBB0_12
## %bb.14:
	testl	%eax, %eax
	je	LBB0_15
	jmp	LBB0_17
LBB0_6:
	movl	4(%rbx), %eax
	movq	_WAVE_FORMAT_UNKNOWN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_11
LBB0_7:
	cmpl	$129, %eax
	je	LBB0_11
## %bb.8:
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.9:
	movl	$0, (%rbx)
	movq	_ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_15:
	movabsq	$17179869312, %rax              ## imm = 0x400000080
	movq	%rax, 4(%rbx)
	movq	_PCM_Formats@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	leaq	_ADPCM_FormatTagDetails.szPcm(%rip), %rsi
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movq	_MMSYSERR_NOTSUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_11:
	movl	$1, (%rbx)
	movq	_ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_12:
	movabsq	$17179869313, %rax              ## imm = 0x400000081
	movq	%rax, 4(%rbx)
	movq	_ADPCM_Formats@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	movq	%rax, 16(%rbx)
	movl	12(%rbx), %edi
	leaq	_ADPCM_FormatTagDetails.szImaAdPcm(%rip), %rsi
LBB0_16:
	callq	_lstrcpyW
LBB0_17:
	movq	_MMSYSERR_NOERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_5:
	movq	_ACMERR_NOTPOSSIBLE@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_ADPCM_FormatTagDetails.szPcm:          ## @ADPCM_FormatTagDetails.szPcm
	.asciz	"PCM"

_ADPCM_FormatTagDetails.szImaAdPcm:     ## @ADPCM_FormatTagDetails.szImaAdPcm
	.asciz	"IMA ADPCM"

	.comm	_ACMERR_NOTPOSSIBLE,4,2         ## @ACMERR_NOTPOSSIBLE
	.comm	_WAVE_FORMAT_UNKNOWN,4,2        ## @WAVE_FORMAT_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported query %08x\n"

	.comm	_MMSYSERR_NOTSUPPORTED,4,2      ## @MMSYSERR_NOTSUPPORTED
	.comm	_ACMDRIVERDETAILS_SUPPORTF_CODEC,4,2 ## @ACMDRIVERDETAILS_SUPPORTF_CODEC
	.comm	_PCM_Formats,4,2                ## @PCM_Formats
	.comm	_ADPCM_Formats,4,2              ## @ADPCM_Formats
	.comm	_MMSYSERR_NOERROR,4,2           ## @MMSYSERR_NOERROR
	.no_dead_strip	_ADPCM_FormatTagDetails
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ADPCM_FormatTagDetails
lCPI0_0:
	.long	129                             ; 0x81
	.long	4                               ; 0x4
lCPI0_1:
	.long	128                             ; 0x80
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ADPCM_FormatTagDetails:                ; @ADPCM_FormatTagDetails
	.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
	cmp	w1, #130
	b.eq	LBB0_7
; %bb.1:
	cmp	w1, #131
	b.eq	LBB0_4
; %bb.2:
	cmp	w1, #132
	b.ne	LBB0_12
; %bb.3:
	ldr	w8, [x19, #4]
	b	LBB0_8
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.gt	LBB0_17
; %bb.5:
Lloh0:
	adrp	x9, _ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x19, #24]
	cmp	w8, #1
	b.eq	LBB0_14
; %bb.6:
	cbz	w8, LBB0_11
	b	LBB0_16
LBB0_7:
	ldr	w8, [x19, #4]
Lloh3:
	adrp	x9, _WAVE_FORMAT_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WAVE_FORMAT_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_13
LBB0_8:
	cmp	w8, #129
	b.eq	LBB0_13
; %bb.9:
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.10:
	str	wzr, [x19]
Lloh6:
	adrp	x8, _ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_11:
Lloh9:
	adrp	x8, lCPI0_1@PAGE
Lloh10:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
	stur	d0, [x19, #4]
Lloh11:
	adrp	x8, _PCM_Formats@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PCM_Formats@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	str	x0, [x19, #16]
	ldr	w0, [x19, #12]
Lloh14:
	adrp	x1, _ADPCM_FormatTagDetails.szPcm@PAGE
Lloh15:
	add	x1, x1, _ADPCM_FormatTagDetails.szPcm@PAGEOFF
	b	LBB0_15
LBB0_12:
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
Lloh18:
	adrp	x8, _MMSYSERR_NOTSUPPORTED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MMSYSERR_NOTSUPPORTED@GOTPAGEOFF]
	b	LBB0_18
LBB0_13:
	mov	w8, #1
	str	w8, [x19]
Lloh20:
	adrp	x8, _ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ACMDRIVERDETAILS_SUPPORTF_CODEC@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_14:
Lloh23:
	adrp	x8, lCPI0_0@PAGE
Lloh24:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
Lloh25:
	adrp	x8, _ADPCM_Formats@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ADPCM_Formats@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	str	x0, [x19, #16]
	ldr	w0, [x19, #12]
Lloh28:
	adrp	x1, _ADPCM_FormatTagDetails.szImaAdPcm@PAGE
Lloh29:
	add	x1, x1, _ADPCM_FormatTagDetails.szImaAdPcm@PAGEOFF
LBB0_15:
	bl	_lstrcpyW
LBB0_16:
Lloh30:
	adrp	x8, _MMSYSERR_NOERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MMSYSERR_NOERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh32:
	adrp	x8, _ACMERR_NOTPOSSIBLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ACMERR_NOTPOSSIBLE@GOTPAGEOFF]
LBB0_18:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdrp	Lloh9, Lloh11
	.loh AdrpLdr	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdrp	Lloh23, Lloh25
	.loh AdrpLdr	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_ADPCM_FormatTagDetails.szPcm:          ; @ADPCM_FormatTagDetails.szPcm
	.asciz	"PCM"

_ADPCM_FormatTagDetails.szImaAdPcm:     ; @ADPCM_FormatTagDetails.szImaAdPcm
	.asciz	"IMA ADPCM"

	.comm	_ACMERR_NOTPOSSIBLE,4,2         ; @ACMERR_NOTPOSSIBLE
	.comm	_WAVE_FORMAT_UNKNOWN,4,2        ; @WAVE_FORMAT_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported query %08x\n"

	.comm	_MMSYSERR_NOTSUPPORTED,4,2      ; @MMSYSERR_NOTSUPPORTED
	.comm	_ACMDRIVERDETAILS_SUPPORTF_CODEC,4,2 ; @ACMDRIVERDETAILS_SUPPORTF_CODEC
	.comm	_PCM_Formats,4,2                ; @PCM_Formats
	.comm	_ADPCM_Formats,4,2              ; @ADPCM_Formats
	.comm	_MMSYSERR_NOERROR,4,2           ; @MMSYSERR_NOERROR
	.no_dead_strip	_ADPCM_FormatTagDetails
.subsections_via_symbols
