	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_is_supported_format    ## -- Begin function snd_hda_is_supported_format
	.p2align	4, 0x90
_snd_hda_is_supported_format:           ## @snd_hda_is_supported_format
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	callq	_query_pcm_param
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_18
## %bb.1:
	movl	%eax, %r12d
	movq	_AC_PAR_PCM_RATE_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_18
## %bb.2:
	movl	%r15d, %ecx
	andl	$65280, %ecx                    ## imm = 0xFF00
	movq	_rate_bits@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, (%rsi,%rdx,4)
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_3
## %bb.10:
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_4:
	xorl	%r14d, %r14d
	btl	%edx, %r12d
	jae	LBB0_18
## %bb.5:
	movq	%rbx, %rdi
	movl	%r13d, %esi
	callq	_query_stream_param
	testl	%eax, %eax
	je	LBB0_18
## %bb.6:
	movq	_AC_SUPFMT_PCM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.7:
	shrl	$4, %r15d
	andl	$15, %r15d
	cmpl	$4, %r15d
	ja	LBB0_18
## %bb.8:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r15,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_AC_SUPPCM_BITS_8@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_12:
	movq	_AC_SUPPCM_BITS_16@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_AC_SUPPCM_BITS_20@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_AC_SUPPCM_BITS_24@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_15:
	movq	_AC_SUPPCM_BITS_32@GOTPCREL(%rip), %rax
LBB0_16:
	testl	%r12d, (%rax)
	je	LBB0_18
LBB0_17:
	movl	$1, %r14d
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_AC_PAR_PCM_RATE_BITS,4,2       ## @AC_PAR_PCM_RATE_BITS
	.comm	_rate_bits,8,3                  ## @rate_bits
	.comm	_AC_SUPFMT_PCM,4,2              ## @AC_SUPFMT_PCM
	.comm	_AC_SUPPCM_BITS_8,4,2           ## @AC_SUPPCM_BITS_8
	.comm	_AC_SUPPCM_BITS_16,4,2          ## @AC_SUPPCM_BITS_16
	.comm	_AC_SUPPCM_BITS_20,4,2          ## @AC_SUPPCM_BITS_20
	.comm	_AC_SUPPCM_BITS_24,4,2          ## @AC_SUPPCM_BITS_24
	.comm	_AC_SUPPCM_BITS_32,4,2          ## @AC_SUPPCM_BITS_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_snd_hda_is_supported_format    ; -- Begin function snd_hda_is_supported_format
	.p2align	2
_snd_hda_is_supported_format:           ; @snd_hda_is_supported_format
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	bl	_query_pcm_param
	cbz	w0, LBB0_18
; %bb.1:
Lloh0:
	adrp	x8, _AC_PAR_PCM_RATE_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AC_PAR_PCM_RATE_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.2:
	mov	x19, x0
	mov	x9, #0
	and	w10, w20, #0xff00
Lloh3:
	adrp	x11, _rate_bits@GOTPAGE
Lloh4:
	ldr	x11, [x11, _rate_bits@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x9, lsl #2]
	cmp	w12, w10
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_3
	b	LBB0_17
LBB0_5:
	lsr	w8, w19, w9
	tbz	w8, #0, LBB0_17
; %bb.6:
	mov	x0, x22
	mov	x1, x21
	bl	_query_stream_param
	cbz	w0, LBB0_18
; %bb.7:
Lloh6:
	adrp	x8, _AC_SUPFMT_PCM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AC_SUPFMT_PCM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_16
; %bb.8:
	ubfx	w8, w20, #4, #4
	cmp	w8, #4
	b.hi	LBB0_17
; %bb.9:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
Lloh11:
	adrp	x8, _AC_SUPPCM_BITS_8@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AC_SUPPCM_BITS_8@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh13:
	adrp	x8, _AC_SUPPCM_BITS_16@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AC_SUPPCM_BITS_16@GOTPAGEOFF]
	b	LBB0_15
LBB0_12:
Lloh15:
	adrp	x8, _AC_SUPPCM_BITS_20@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AC_SUPPCM_BITS_20@GOTPAGEOFF]
	b	LBB0_15
LBB0_13:
Lloh17:
	adrp	x8, _AC_SUPPCM_BITS_24@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AC_SUPPCM_BITS_24@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh19:
	adrp	x8, _AC_SUPPCM_BITS_32@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AC_SUPPCM_BITS_32@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_17
LBB0_16:
	mov	w0, #1
	b	LBB0_18
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_11-LBB0_10)>>2
	.byte	(LBB0_12-LBB0_10)>>2
	.byte	(LBB0_13-LBB0_10)>>2
	.byte	(LBB0_14-LBB0_10)>>2
                                        ; -- End function
	.comm	_AC_PAR_PCM_RATE_BITS,4,2       ; @AC_PAR_PCM_RATE_BITS
	.comm	_rate_bits,8,3                  ; @rate_bits
	.comm	_AC_SUPFMT_PCM,4,2              ; @AC_SUPFMT_PCM
	.comm	_AC_SUPPCM_BITS_8,4,2           ; @AC_SUPPCM_BITS_8
	.comm	_AC_SUPPCM_BITS_16,4,2          ; @AC_SUPPCM_BITS_16
	.comm	_AC_SUPPCM_BITS_20,4,2          ; @AC_SUPPCM_BITS_20
	.comm	_AC_SUPPCM_BITS_24,4,2          ; @AC_SUPPCM_BITS_24
	.comm	_AC_SUPPCM_BITS_32,4,2          ; @AC_SUPPCM_BITS_32
.subsections_via_symbols
