	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_term_name
_get_term_name:                         ## @get_term_name
	.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	8(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.24:
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_snd_usb_copy_string_desc       ## TAILCALL
LBB0_1:
	movl	(%rsi), %ecx
	cmpl	$65536, %ecx                    ## imm = 0x10000
	jae	LBB0_2
## %bb.12:
	movl	%ecx, %eax
	andl	$65280, %eax                    ## imm = 0xFF00
	addl	$-256, %eax
	shrl	$8, %eax
	cmpl	$4, %eax
	ja	LBB0_19
## %bb.13:
	leaq	LJTI0_1(%rip), %rsi
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	jmpq	*%rax
LBB0_14:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_15
LBB0_2:
	xorl	%eax, %eax
	testl	%r8d, %r8d
	jne	LBB0_23
## %bb.3:
	sarl	$16, %ecx
	addl	$-128, %ecx
	cmpl	$3, %ecx
	ja	LBB0_11
## %bb.4:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rcx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_5:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_6
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
LBB0_15:
	movq	%rdx, %rdi
	callq	_strcpy
	movl	$3, %eax
	jmp	LBB0_23
LBB0_19:
	movq	_iterm_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %esi
	xorl	%eax, %eax
	testl	%esi, %esi
	je	LBB0_23
## %bb.20:
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	cmpl	%ecx, %esi
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	8(%rbx), %esi
	addq	$16, %rbx
	testl	%esi, %esi
	jne	LBB0_21
	jmp	LBB0_23
LBB0_17:
	leaq	L_.str.7(%rip), %rsi
	movq	%rdx, %rdi
	callq	_strcpy
	movl	$7, %eax
	jmp	LBB0_23
LBB0_18:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_10
LBB0_11:
	movl	4(%rsi), %eax
	leaq	L_.str.4(%rip), %rsi
	movq	%rdx, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
LBB0_10:
	movq	%rdx, %rdi
	callq	_strcpy
	movl	$5, %eax
	jmp	LBB0_23
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	movq	%rdx, %rdi
	callq	_strcpy
	movl	$12, %eax
	jmp	LBB0_23
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
LBB0_6:
	movq	%rdx, %rdi
	callq	_strcpy
	movl	$8, %eax
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_25:
	movq	(%rbx), %rsi
	movq	%rdx, %rdi
	callq	_strcpy
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_strlen                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_8
.set L0_1_set_14, LBB0_14-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_19, LBB0_19-LJTI0_1
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
LJTI0_1:
	.long	L0_1_set_14
	.long	L0_1_set_16
	.long	L0_1_set_19
	.long	L0_1_set_17
	.long	L0_1_set_18
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Selector"

L_.str.1:                               ## @.str.1
	.asciz	"Process Unit"

L_.str.2:                               ## @.str.2
	.asciz	"Ext Unit"

L_.str.3:                               ## @.str.3
	.asciz	"Mixer"

L_.str.4:                               ## @.str.4
	.asciz	"Unit %d"

L_.str.5:                               ## @.str.5
	.asciz	"PCM"

L_.str.6:                               ## @.str.6
	.asciz	"Mic"

L_.str.7:                               ## @.str.7
	.asciz	"Headset"

L_.str.8:                               ## @.str.8
	.asciz	"Phone"

	.comm	_iterm_names,8,3                ## @iterm_names
	.no_dead_strip	_get_term_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_term_name
_get_term_name:                         ; @get_term_name
	.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	x8, [x1, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x1, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_snd_usb_copy_string_desc
LBB0_2:
	ldr	w8, [x1]
	cmp	w8, #16, lsl #12                ; =65536
	b.hs	LBB0_6
; %bb.3:
	and	w9, w8, #0xff00
	sub	w9, w9, #256
	lsr	w9, w9, #8
	cmp	w9, #4
	b.hi	LBB0_13
; %bb.4:
Lloh0:
	adrp	x10, lJTI0_1@PAGE
Lloh1:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_5
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_5:
Lloh2:
	adrp	x1, l_.str.5@PAGE
Lloh3:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_12
LBB0_6:
	cbz	w4, LBB0_8
LBB0_7:
	mov	w0, #0
	b	LBB0_25
LBB0_8:
	asr	w8, w8, #16
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_19
; %bb.9:
Lloh4:
	adrp	x9, lJTI0_0@PAGE
Lloh5:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_10
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_10:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_24
LBB0_11:
Lloh8:
	adrp	x1, l_.str.6@PAGE
Lloh9:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_12:
	mov	x0, x2
	bl	_strcpy
	mov	w0, #3
	b	LBB0_25
LBB0_13:
Lloh10:
	adrp	x9, _iterm_names@GOTPAGE
Lloh11:
	ldr	x9, [x9, _iterm_names@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x9]
	ldr	w9, [x10]
	cbz	w9, LBB0_7
; %bb.14:
	add	x19, x10, #8
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	cmp	w9, w8
	b.eq	LBB0_26
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w9, [x19, #8]
	add	x19, x19, #16
	cbnz	w9, LBB0_15
	b	LBB0_7
LBB0_17:
Lloh13:
	adrp	x1, l_.str.7@PAGE
Lloh14:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x2
	bl	_strcpy
	mov	w0, #7
	b	LBB0_25
LBB0_18:
Lloh15:
	adrp	x1, l_.str.8@PAGE
Lloh16:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_21
LBB0_19:
	ldr	w8, [x1, #4]
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x2
	mov	x2, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
LBB0_20:
Lloh19:
	adrp	x1, l_.str.3@PAGE
Lloh20:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_21:
	mov	x0, x2
	bl	_strcpy
	mov	w0, #5
	b	LBB0_25
LBB0_22:
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x2
	bl	_strcpy
	mov	w0, #12
	b	LBB0_25
LBB0_23:
Lloh23:
	adrp	x1, l_.str.2@PAGE
Lloh24:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_24:
	mov	x0, x2
	bl	_strcpy
	mov	w0, #8
LBB0_25:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_26:
	ldr	x1, [x19]
	mov	x0, x2
	bl	_strcpy
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_strlen
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_10)>>2
	.byte	(LBB0_20-LBB0_10)>>2
	.byte	(LBB0_22-LBB0_10)>>2
	.byte	(LBB0_23-LBB0_10)>>2
lJTI0_1:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Selector"

l_.str.1:                               ; @.str.1
	.asciz	"Process Unit"

l_.str.2:                               ; @.str.2
	.asciz	"Ext Unit"

l_.str.3:                               ; @.str.3
	.asciz	"Mixer"

l_.str.4:                               ; @.str.4
	.asciz	"Unit %d"

l_.str.5:                               ; @.str.5
	.asciz	"PCM"

l_.str.6:                               ; @.str.6
	.asciz	"Mic"

l_.str.7:                               ; @.str.7
	.asciz	"Headset"

l_.str.8:                               ; @.str.8
	.asciz	"Phone"

	.comm	_iterm_names,8,3                ; @iterm_names
	.no_dead_strip	_get_term_name
.subsections_via_symbols
