	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snd_task_name
_snd_task_name:                         ## @snd_task_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rdi, %rdi
	sete	%al
	testq	%rsi, %rsi
	sete	%cl
	cmpq	$2, %rdx
	setb	%dl
	orb	%al, %cl
	orb	%dl, %cl
	movzbl	%cl, %edi
	callq	_snd_BUG_ON
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_1:
	xorl	%eax, %eax
	cmpq	$2, %rbx
	jb	LBB0_2
## %bb.4:
	movq	(%r14), %rcx
	movb	(%rcx), %cl
	movb	%cl, (%r15)
	movl	$1, %ecx
	jbe	LBB0_12
## %bb.5:
	movq	(%r14), %rcx
	movb	1(%rcx), %cl
	movb	%cl, 1(%r15)
	movl	$2, %ecx
	cmpq	$3, %rbx
	je	LBB0_12
## %bb.6:
	movq	(%r14), %rcx
	movb	2(%rcx), %cl
	movb	%cl, 2(%r15)
	movl	$3, %ecx
	cmpq	$5, %rbx
	jb	LBB0_12
## %bb.7:
	movq	(%r14), %rcx
	movb	3(%rcx), %cl
	movb	%cl, 3(%r15)
	movl	$4, %ecx
	je	LBB0_12
## %bb.8:
	movq	(%r14), %rcx
	movb	4(%rcx), %cl
	movb	%cl, 4(%r15)
	movl	$5, %ecx
	cmpq	$7, %rbx
	jb	LBB0_12
## %bb.9:
	movq	(%r14), %rcx
	movb	5(%rcx), %cl
	movb	%cl, 5(%r15)
	movl	$6, %ecx
	je	LBB0_12
## %bb.10:
	movq	(%r14), %rcx
	movb	6(%rcx), %cl
	movb	%cl, 6(%r15)
	movl	$7, %ecx
	cmpq	$9, %rbx
	jb	LBB0_12
## %bb.11:
	movq	(%r14), %rcx
	movb	7(%rcx), %cl
	movb	%cl, 7(%r15)
	movl	$8, %ecx
	jmp	LBB0_12
LBB0_2:
	xorl	%ecx, %ecx
LBB0_12:
	movb	$0, (%r15,%rcx)
LBB0_13:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_snd_task_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snd_task_name
_snd_task_name:                         ; @snd_task_name
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	cmp	x0, #0
	ccmp	x1, #0, #4, ne
	ccmp	x2, #2, #0, ne
	cset	w0, lo
	bl	_snd_BUG_ON
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_2:
	cmp	x21, #2
	b.lo	LBB0_6
; %bb.3:
	ldr	x8, [x20]
	ldrb	w8, [x8]
	strb	w8, [x19]
	cmp	x21, #2
	b.ls	LBB0_7
; %bb.4:
	ldr	x8, [x20]
	ldrb	w8, [x8, #1]
	strb	w8, [x19, #1]
	cmp	x21, #3
	b.ne	LBB0_10
; %bb.5:
	mov	w8, #2
	b	LBB0_8
LBB0_6:
	mov	x8, #0
	b	LBB0_8
LBB0_7:
	mov	w8, #1
LBB0_8:
	mov	w0, #0
	strb	wzr, [x19, x8]
LBB0_9:
	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
LBB0_10:
	ldr	x8, [x20]
	ldrb	w8, [x8, #2]
	strb	w8, [x19, #2]
	cmp	x21, #5
	b.lo	LBB0_13
; %bb.11:
	ldr	x8, [x20]
	ldrb	w8, [x8, #3]
	strb	w8, [x19, #3]
	cmp	x21, #5
	b.ne	LBB0_14
; %bb.12:
	mov	w8, #4
	b	LBB0_8
LBB0_13:
	mov	w8, #3
	b	LBB0_8
LBB0_14:
	ldr	x8, [x20]
	ldrb	w8, [x8, #4]
	strb	w8, [x19, #4]
	cmp	x21, #7
	b.lo	LBB0_17
; %bb.15:
	ldr	x8, [x20]
	ldrb	w8, [x8, #5]
	strb	w8, [x19, #5]
	cmp	x21, #7
	b.ne	LBB0_18
; %bb.16:
	mov	w8, #6
	b	LBB0_8
LBB0_17:
	mov	w8, #5
	b	LBB0_8
LBB0_18:
	ldr	x8, [x20]
	ldrb	w8, [x8, #6]
	strb	w8, [x19, #6]
	cmp	x21, #9
	b.lo	LBB0_20
; %bb.19:
	ldr	x8, [x20]
	ldrb	w8, [x8, #7]
	strb	w8, [x19, #7]
	mov	w8, #8
	b	LBB0_8
LBB0_20:
	mov	w8, #7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_snd_task_name
.subsections_via_symbols
