	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function desc_to_chan
_desc_to_chan:                          ## @desc_to_chan
	.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	(%rdi), %rax
	cmpq	%rsi, %rax
	jg	LBB0_4
## %bb.2:
	movq	%rsi, %rbx
	movq	_ALLOC_DECS_NUM@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	leaq	(%rax,%rcx,4), %rdx
	cmpq	%rsi, %rdx
	jle	LBB0_4
## %bb.3:
	movq	%rdi, %r14
	subq	%rax, %rbx
	shrq	$2, %rbx
	xorl	%edi, %edi
	cmpq	%rcx, %rbx
	setge	%dil
	callq	_BUG_ON
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %r15
	movq	$0, (%rax,%rbx,8)
	movl	8(%r14), %edi
	callq	_pm_runtime_put
	jmp	LBB0_5
LBB0_4:
	xorl	%r15d, %r15d
LBB0_5:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALLOC_DECS_NUM,4,2             ## @ALLOC_DECS_NUM
	.no_dead_strip	_desc_to_chan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function desc_to_chan
_desc_to_chan:                          ; @desc_to_chan
	.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, [x0]
	cmp	x8, x1
	b.gt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _ALLOC_DECS_NUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ALLOC_DECS_NUM@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x9]
	add	x10, x8, x9, lsl #2
	cmp	x10, x1
	b.le	LBB0_3
; %bb.2:
	mov	x19, x0
	sub	x8, x1, x8
	lsr	x20, x8, #2
	cmp	x20, x9
	cset	w0, ge
	bl	_BUG_ON
	ldr	x8, [x19, #16]
	lsl	x9, x20, #3
	ldr	x20, [x8, x9]
	str	xzr, [x8, x9]
	ldr	w0, [x19, #8]
	bl	_pm_runtime_put
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ALLOC_DECS_NUM,4,2             ; @ALLOC_DECS_NUM
	.no_dead_strip	_desc_to_chan
.subsections_via_symbols
