	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getChannel
_getChannel:                            ## @getChannel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	8(%rdi), %rcx
	cmpq	$3, %rcx
	jb	LBB0_9
## %bb.2:
	movq	(%rdi), %rdx
	movq	_ESC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_CHI@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$2, %edi
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	%rsi, %rdi
	addq	$2, %rdi
	cmpq	%rcx, %rdi
	jae	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rdx,%rdi,4), %rsi
	cmpq	$2, %rsi
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r9d, -4(%rdx,%rdi,4)
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r8d, 4(%rdx,%rdi,4)
	jne	LBB0_3
## %bb.7:
	movslq	8(%rdx,%rdi,4), %rax
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ESC,4,2                        ## @ESC
	.comm	_CHI,4,2                        ## @CHI
	.no_dead_strip	_getChannel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getChannel
_getChannel:                            ; @getChannel
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x8, [x0, #8]
	cmp	x8, #3
	b.lo	LBB0_8
; %bb.2:
Lloh0:
	adrp	x10, _ESC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ESC@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _CHI@GOTPAGE
Lloh4:
	ldr	x11, [x11, _CHI@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	mov	w12, #2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x13, x12
	add	x12, x12, #2
	cmp	x12, x8
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x13, [x9, x12, lsl #2]
	cmp	w13, #2
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x14, x9, x12, lsl #2
	ldur	w15, [x14, #-4]
	cmp	w15, w10
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x14, #4]
	cmp	w14, w11
	b.ne	LBB0_3
; %bb.7:
	add	x8, x9, x12, lsl #2
	ldrsw	x0, [x8, #8]
	ret
LBB0_8:
	mov	x0, #0
LBB0_9:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ESC,4,2                        ; @ESC
	.comm	_CHI,4,2                        ; @CHI
	.no_dead_strip	_getChannel
.subsections_via_symbols
