	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_codec_type
_get_codec_type:                        ## @get_codec_type
	.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
	movl	(%rdi), %eax
	movl	%eax, %ecx
	andl	$-65536, %ecx                   ## imm = 0xFFFF0000
	cmpl	$285605888, %ecx                ## imm = 0x11060000
	jne	LBB0_32
## %bb.1:
	movl	%eax, %ecx
	andl	$-4, %ecx
	leal	6384(%rcx), %edx
	cmpw	$20, %dx
	ja	LBB0_2
## %bb.35:
	movzwl	%dx, %ecx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	_VT1709_10CH@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_2:
	movzwl	%cx, %ecx
	cmpl	$5896, %ecx                     ## imm = 0x1708
	jne	LBB0_9
## %bb.3:
	movq	_VT1708@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_9:
	movzwl	%ax, %ecx
	movl	%eax, %edx
	andl	$4095, %edx                     ## imm = 0xFFF
	cmpl	$919, %edx                      ## imm = 0x397
	jne	LBB0_12
## %bb.10:
	cmpl	$32767, %ecx                    ## imm = 0x7FFF
	ja	LBB0_12
LBB0_11:
	movq	_VT1708S@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_5:
	movq	_VT1709_6CH@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_6:
	movq	_VT1708B_8CH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_AC_PAR_CONNLIST_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$22, %esi
	callq	_snd_hda_param_read
	cmpl	$7, %eax
	jne	LBB0_34
## %bb.7:
	movq	_VT1708BCE@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_8:
	movq	_VT1708B_4CH@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_12:
	cmpl	$920, %edx                      ## imm = 0x398
	jne	LBB0_15
## %bb.13:
	cmpl	$32767, %ecx                    ## imm = 0x7FFF
	ja	LBB0_15
## %bb.14:
	movq	_VT1702@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_15:
	cmpl	$1064, %edx                     ## imm = 0x428
	jne	LBB0_18
## %bb.16:
	cmpl	$32767, %ecx                    ## imm = 0x7FFF
	ja	LBB0_18
LBB0_17:
	movq	_VT1718S@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_18:
	movzwl	%ax, %esi
	cmpl	$1075, %esi                     ## imm = 0x433
	je	LBB0_20
## %bb.19:
	cmpl	$42785, %esi                    ## imm = 0xA721
	jne	LBB0_21
LBB0_20:
	movq	_VT1716S@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_21:
	andl	$49151, %eax                    ## imm = 0xBFFF
	cmpl	$1080, %eax                     ## imm = 0x438
	je	LBB0_36
## %bb.22:
	movzwl	%ax, %eax
	cmpl	$1089, %eax                     ## imm = 0x441
	je	LBB0_17
## %bb.23:
	cmpl	$1088, %esi                     ## imm = 0x440
	je	LBB0_11
## %bb.24:
	cmpl	$1096, %esi                     ## imm = 0x448
	jne	LBB0_26
## %bb.25:
	movq	_VT1812@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_36:
	movq	_VT2002P@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_26:
	cmpl	$1094, %edx                     ## imm = 0x446
	jne	LBB0_28
## %bb.27:
	movq	_VT1802@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_28:
	cmpl	$18272, %ecx                    ## imm = 0x4760
	jne	LBB0_30
## %bb.29:
	movq	_VT1705CF@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_30:
	addl	$-18273, %ecx                   ## imm = 0xB89F
	cmpl	$1, %ecx
	ja	LBB0_32
## %bb.31:
	movq	_VT1808@GOTPCREL(%rip), %rax
	jmp	LBB0_33
LBB0_32:
	movq	_UNKNOWN@GOTPCREL(%rip), %rax
LBB0_33:
	movl	(%rax), %ebx
LBB0_34:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_UNKNOWN,4,2                    ## @UNKNOWN
	.comm	_VT1708,4,2                     ## @VT1708
	.comm	_VT1709_10CH,4,2                ## @VT1709_10CH
	.comm	_VT1709_6CH,4,2                 ## @VT1709_6CH
	.comm	_VT1708B_8CH,4,2                ## @VT1708B_8CH
	.comm	_AC_PAR_CONNLIST_LEN,4,2        ## @AC_PAR_CONNLIST_LEN
	.comm	_VT1708BCE,4,2                  ## @VT1708BCE
	.comm	_VT1708B_4CH,4,2                ## @VT1708B_4CH
	.comm	_VT1708S,4,2                    ## @VT1708S
	.comm	_VT1702,4,2                     ## @VT1702
	.comm	_VT1718S,4,2                    ## @VT1718S
	.comm	_VT1716S,4,2                    ## @VT1716S
	.comm	_VT2002P,4,2                    ## @VT2002P
	.comm	_VT1812,4,2                     ## @VT1812
	.comm	_VT1802,4,2                     ## @VT1802
	.comm	_VT1705CF,4,2                   ## @VT1705CF
	.comm	_VT1808,4,2                     ## @VT1808
	.no_dead_strip	_get_codec_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_codec_type
_get_codec_type:                        ; @get_codec_type
	.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
	ldr	w8, [x0]
	mov	w9, #4358
	cmp	w9, w8, lsr #16
	b.ne	LBB0_32
; %bb.1:
	and	w9, w8, #0xfffc
	mov	w10, #-59152
	add	w10, w9, w10
	cmp	w10, #20
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x11, LBB0_3
	ldrb	w12, [x9, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_3:
Lloh2:
	adrp	x8, _VT1709_10CH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VT1709_10CH@GOTPAGEOFF]
	b	LBB0_33
LBB0_4:
	mov	w10, #5896
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.5:
Lloh4:
	adrp	x8, _VT1708@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VT1708@GOTPAGEOFF]
	b	LBB0_33
LBB0_6:
	and	w9, w8, #0xffff
	and	w10, w8, #0xfff
	cmp	w10, #919
	lsr	w11, w9, #15
	ccmp	w11, #0, #0, eq
	b.eq	LBB0_24
; %bb.7:
	cmp	w10, #920
	b.ne	LBB0_13
; %bb.8:
	cbnz	w11, LBB0_13
; %bb.9:
Lloh6:
	adrp	x8, _VT1702@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VT1702@GOTPAGEOFF]
	b	LBB0_33
LBB0_10:
Lloh8:
	adrp	x8, _VT1709_6CH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VT1709_6CH@GOTPAGEOFF]
	b	LBB0_33
LBB0_11:
Lloh10:
	adrp	x8, _VT1708B_8CH@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VT1708B_8CH@GOTPAGEOFF]
Lloh12:
	ldr	w19, [x8]
Lloh13:
	adrp	x8, _AC_PAR_CONNLIST_LEN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AC_PAR_CONNLIST_LEN@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	w1, #22
	bl	_snd_hda_param_read
Lloh16:
	adrp	x8, _VT1708BCE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VT1708BCE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, #7
	csel	w0, w8, w19, eq
	b	LBB0_34
LBB0_12:
Lloh19:
	adrp	x8, _VT1708B_4CH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VT1708B_4CH@GOTPAGEOFF]
	b	LBB0_33
LBB0_13:
	cmp	w10, #1064
	b.ne	LBB0_16
; %bb.14:
	cbnz	w11, LBB0_16
LBB0_15:
Lloh21:
	adrp	x8, _VT1718S@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VT1718S@GOTPAGEOFF]
	b	LBB0_33
LBB0_16:
	and	w11, w8, #0xffff
	mov	w12, #42785
	cmp	w11, w12
	b.eq	LBB0_18
; %bb.17:
	cmp	w11, #1075
	b.ne	LBB0_19
LBB0_18:
Lloh23:
	adrp	x8, _VT1716S@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VT1716S@GOTPAGEOFF]
	b	LBB0_33
LBB0_19:
	mov	w11, #49151
	and	w11, w8, w11
	cmp	w11, #1080
	b.eq	LBB0_25
; %bb.20:
	cmp	w11, #1089
	b.eq	LBB0_15
; %bb.21:
	and	w8, w8, #0xffff
	cmp	w8, #1088
	b.eq	LBB0_24
; %bb.22:
	cmp	w8, #1096
	b.ne	LBB0_26
; %bb.23:
Lloh25:
	adrp	x8, _VT1812@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VT1812@GOTPAGEOFF]
	b	LBB0_33
LBB0_24:
Lloh27:
	adrp	x8, _VT1708S@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VT1708S@GOTPAGEOFF]
	b	LBB0_33
LBB0_25:
Lloh29:
	adrp	x8, _VT2002P@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VT2002P@GOTPAGEOFF]
	b	LBB0_33
LBB0_26:
	cmp	w10, #1094
	b.ne	LBB0_28
; %bb.27:
Lloh31:
	adrp	x8, _VT1802@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VT1802@GOTPAGEOFF]
	b	LBB0_33
LBB0_28:
	mov	w8, #18272
	cmp	w9, w8
	b.ne	LBB0_30
; %bb.29:
Lloh33:
	adrp	x8, _VT1705CF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VT1705CF@GOTPAGEOFF]
	b	LBB0_33
LBB0_30:
	mov	w8, #-18273
	add	w8, w9, w8
	cmp	w8, #1
	b.hi	LBB0_32
; %bb.31:
Lloh35:
	adrp	x8, _VT1808@GOTPAGE
Lloh36:
	ldr	x8, [x8, _VT1808@GOTPAGEOFF]
	b	LBB0_33
LBB0_32:
Lloh37:
	adrp	x8, _UNKNOWN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _UNKNOWN@GOTPAGEOFF]
LBB0_33:
	ldr	w0, [x8]
LBB0_34:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
                                        ; -- End function
	.comm	_UNKNOWN,4,2                    ; @UNKNOWN
	.comm	_VT1708,4,2                     ; @VT1708
	.comm	_VT1709_10CH,4,2                ; @VT1709_10CH
	.comm	_VT1709_6CH,4,2                 ; @VT1709_6CH
	.comm	_VT1708B_8CH,4,2                ; @VT1708B_8CH
	.comm	_AC_PAR_CONNLIST_LEN,4,2        ; @AC_PAR_CONNLIST_LEN
	.comm	_VT1708BCE,4,2                  ; @VT1708BCE
	.comm	_VT1708B_4CH,4,2                ; @VT1708B_4CH
	.comm	_VT1708S,4,2                    ; @VT1708S
	.comm	_VT1702,4,2                     ; @VT1702
	.comm	_VT1718S,4,2                    ; @VT1718S
	.comm	_VT1716S,4,2                    ; @VT1716S
	.comm	_VT2002P,4,2                    ; @VT2002P
	.comm	_VT1812,4,2                     ; @VT1812
	.comm	_VT1802,4,2                     ; @VT1802
	.comm	_VT1705CF,4,2                   ; @VT1705CF
	.comm	_VT1808,4,2                     ; @VT1808
	.no_dead_strip	_get_codec_type
.subsections_via_symbols
