	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function channel_id_to_papd
_channel_id_to_papd:                    ## @channel_id_to_papd
	.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	%edi, %ebx
	callq	_is_valid_channel
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_WARN_ON
	movq	%rax, %rcx
	movl	$255, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
## %bb.1:
	leal	-1(%rbx), %ecx
	xorl	%eax, %eax
	cmpl	$14, %ecx
	jb	LBB0_4
## %bb.2:
	leal	-36(%rbx), %ecx
	movl	$1, %eax
	cmpl	$29, %ecx
	jb	LBB0_4
## %bb.3:
	addl	$-100, %ebx
	cmpl	$41, %ebx
	movl	$3, %eax
	sbbl	$0, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_channel_id_to_papd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function channel_id_to_papd
_channel_id_to_papd:                    ; @channel_id_to_papd
	.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
	mov	x19, x0
	bl	_is_valid_channel
	cmp	w0, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	w8, #255
	sub	w9, w19, #1
	sub	w10, w19, #36
	mov	w11, #1
	sub	w12, w19, #100
	cmp	w12, #41
	mov	w12, #2
	cinc	w12, w12, hs
	cmp	w10, #29
	csel	w10, w11, w12, lo
	cmp	w9, #14
	csel	w9, wzr, w10, lo
	cmp	x0, #0
	csel	w0, w8, w9, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_channel_id_to_papd
.subsections_via_symbols
