	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_input_term
_check_input_term:                      ## @check_input_term
	.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
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_find_audio_control_unit
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r13
	leaq	LJTI0_0(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_find_audio_control_unit
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, (%r14)
	movzbl	2(%r13), %eax
	addb	$-128, %al
	cmpb	$7, %al
	ja	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %eax
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 12(%r13)
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %r13
	jmp	LBB0_2
LBB0_7:
	movq	(%r13), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_check_input_term
	testl	%eax, %eax
	js	LBB0_9
## %bb.8:
	movl	8(%r13), %eax
	shll	$16, %eax
	movl	%eax, 4(%r14)
	movl	%ebx, (%r14)
	movq	%r13, %rdi
	callq	_uac_selector_unit_iSelector
	jmp	LBB0_15
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_17
LBB0_10:
	movl	8(%r13), %eax
	shll	$16, %eax
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	callq	_uac_processing_unit_bNrChannels
	movl	%eax, 24(%r14)
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_uac_processing_unit_wChannelConfig
	movq	%rax, 16(%r14)
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_uac_processing_unit_iProcessing
	jmp	LBB0_15
LBB0_11:
	movl	(%r13), %eax
	shll	$16, %eax
	movl	%eax, 4(%r14)
	movq	%r13, %rdi
	callq	_uac_mixer_unit_bNrChannels
	movl	%eax, 24(%r14)
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_uac_mixer_unit_wChannelConfig
	movq	%rax, 16(%r14)
	movq	%r13, %rdi
	callq	_uac_mixer_unit_iMixer
	jmp	LBB0_15
LBB0_12:
	movq	(%r15), %rax
	movl	(%rax), %eax
	movq	_UAC_VERSION_1@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_18
## %bb.13:
	movl	12(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, 4(%r14)
	movl	8(%r13), %eax
	movl	%eax, 24(%r14)
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%r14)
	movl	(%r13), %eax
	jmp	LBB0_15
LBB0_14:
	movl	(%r13), %eax
	shll	$16, %eax
	movl	%eax, 4(%r14)
	movl	%ebx, (%r14)
	movl	4(%r13), %eax
LBB0_15:
	movl	%eax, 8(%r14)
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	16(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, 4(%r14)
	movl	12(%r13), %eax
	movl	%eax, 24(%r14)
	movl	8(%r13), %edi
	callq	_le32_to_cpu
	movq	%rax, 16(%r14)
	movl	4(%r13), %eax
	movl	%eax, 8(%r14)
	movl	(%r13), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_check_input_term
	testl	%eax, %eax
	jns	LBB0_16
	jmp	LBB0_17
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_UAC_VERSION_1,4,2              ## @UAC_VERSION_1
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_check_input_term
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_input_term
_check_input_term:                      ; @check_input_term
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x22, x1
	mov	x21, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x0, x21
	mov	x1, x22
	bl	_find_audio_control_unit
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x23, lJTI0_0@PAGE
Lloh1:
	add	x23, x23, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w22, [x20]
	mov	x0, x21
	mov	x1, x22
	bl	_find_audio_control_unit
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	w22, [x19]
	ldrb	w8, [x20, #2]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x23, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #12]
	cbz	w8, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20]
	b	LBB0_2
LBB0_7:
	ldr	x8, [x20]
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x19
	bl	_check_input_term
	tbnz	w0, #31, LBB0_9
; %bb.8:
	ldr	w8, [x20, #8]
	lsl	w8, w8, #16
	stp	w22, w8, [x19]
	mov	x0, x20
	bl	_uac_selector_unit_iSelector
	b	LBB0_12
LBB0_9:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_13
LBB0_10:
	ldr	w8, [x20, #8]
	lsl	w8, w8, #16
	str	w8, [x19, #4]
	mov	x0, x20
	bl	_uac_processing_unit_bNrChannels
	str	w0, [x19, #24]
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_uac_processing_unit_wChannelConfig
	str	x0, [x19, #16]
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_uac_processing_unit_iProcessing
	b	LBB0_12
LBB0_11:
	ldr	w8, [x20]
	lsl	w8, w8, #16
	str	w8, [x19, #4]
	mov	x0, x20
	bl	_uac_mixer_unit_bNrChannels
	str	w0, [x19, #24]
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x20
	bl	_uac_mixer_unit_wChannelConfig
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_uac_mixer_unit_iMixer
LBB0_12:
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x8, [x21]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _UAC_VERSION_1@GOTPAGE
Lloh6:
	ldr	x9, [x9, _UAC_VERSION_1@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.15:
	ldr	w0, [x20, #12]
	bl	_le16_to_cpu
	str	w0, [x19, #4]
	ldp	w0, w8, [x20, #4]
	str	w8, [x19, #24]
	bl	_le16_to_cpu
	str	x0, [x19, #16]
	ldr	w8, [x20]
	str	w8, [x19, #8]
	mov	w0, #0
	b	LBB0_13
LBB0_16:
	mov	w0, #0
	ldp	w8, w9, [x20]
	lsl	w8, w8, #16
	stp	w22, w8, [x19]
	str	w9, [x19, #8]
	b	LBB0_13
LBB0_17:
	ldr	w0, [x20, #16]
	bl	_le16_to_cpu
	str	w0, [x19, #4]
	ldp	w0, w8, [x20, #8]
	str	w8, [x19, #24]
	bl	_le32_to_cpu
	str	x0, [x19, #16]
	ldp	w1, w8, [x20]
	str	w8, [x19, #8]
	mov	x0, x21
	mov	x2, x19
	bl	_check_input_term
	tbnz	w0, #31, LBB0_13
; %bb.18:
	mov	w0, #0
	b	LBB0_13
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.comm	_UAC_VERSION_1,4,2              ; @UAC_VERSION_1
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_check_input_term
.subsections_via_symbols
