	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bttv_g_ctrl
_bttv_g_ctrl:                           ## @bttv_g_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdx), %eax
	addl	$-128, %eax
	cmpl	$19, %eax
	ja	LBB0_3
## %bb.1:
	movq	%rdx, %rcx
	movq	(%rsi), %rdi
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_2:
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_ctrl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_bttv_call_all
	jmp	LBB0_20
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movl	44(%rdi), %eax
	jmp	LBB0_19
LBB0_5:
	movl	16(%rdi), %eax
	jmp	LBB0_19
LBB0_6:
	movl	12(%rdi), %eax
	jmp	LBB0_19
LBB0_7:
	movl	20(%rdi), %eax
	jmp	LBB0_19
LBB0_8:
	movl	8(%rdi), %eax
	jmp	LBB0_19
LBB0_9:
	movl	32(%rdi), %eax
	jmp	LBB0_19
LBB0_10:
	movl	4(%rdi), %eax
	jmp	LBB0_19
LBB0_11:
	movl	(%rdi), %eax
	jmp	LBB0_19
LBB0_12:
	movl	36(%rdi), %eax
	jmp	LBB0_19
LBB0_13:
	movl	40(%rdi), %eax
	jmp	LBB0_19
LBB0_14:
	movl	28(%rdi), %eax
	jmp	LBB0_19
LBB0_15:
	movl	24(%rdi), %eax
	jmp	LBB0_19
LBB0_16:
	movl	52(%rdi), %eax
	jmp	LBB0_19
LBB0_17:
	movl	48(%rdi), %eax
	jmp	LBB0_19
LBB0_18:
	movl	56(%rdi), %eax
LBB0_19:
	movl	%eax, 4(%rcx)
LBB0_20:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_core,4,2                       ## @core
	.comm	_g_ctrl,4,2                     ## @g_ctrl
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_bttv_g_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bttv_g_ctrl
_bttv_g_ctrl:                           ; @bttv_g_ctrl
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x2]
	sub	w9, w8, #128
	cmp	w9, #19
	b.hi	LBB0_3
; %bb.1:
	mov	x3, x2
	ldr	x8, [x1]
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh2:
	adrp	x9, _core@GOTPAGE
Lloh3:
	ldr	x9, [x9, _core@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
Lloh5:
	adrp	x9, _g_ctrl@GOTPAGE
Lloh6:
	ldr	x9, [x9, _g_ctrl@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	mov	x0, x8
	bl	_bttv_call_all
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	w0, #0
	ldr	w8, [x8, #44]
	b	LBB0_19
LBB0_5:
	mov	w0, #0
	ldr	w8, [x8, #16]
	b	LBB0_19
LBB0_6:
	mov	w0, #0
	ldr	w8, [x8, #12]
	b	LBB0_19
LBB0_7:
	mov	w0, #0
	ldr	w8, [x8, #20]
	b	LBB0_19
LBB0_8:
	mov	w0, #0
	ldr	w8, [x8, #8]
	b	LBB0_19
LBB0_9:
	mov	w0, #0
	ldr	w8, [x8, #32]
	b	LBB0_19
LBB0_10:
	mov	w0, #0
	ldr	w8, [x8, #4]
	b	LBB0_19
LBB0_11:
	mov	w0, #0
	ldr	w8, [x8]
	b	LBB0_19
LBB0_12:
	mov	w0, #0
	ldr	w8, [x8, #36]
	b	LBB0_19
LBB0_13:
	mov	w0, #0
	ldr	w8, [x8, #40]
	b	LBB0_19
LBB0_14:
	mov	w0, #0
	ldr	w8, [x8, #28]
	b	LBB0_19
LBB0_15:
	mov	w0, #0
	ldr	w8, [x8, #24]
	b	LBB0_19
LBB0_16:
	mov	w0, #0
	ldr	w8, [x8, #52]
	b	LBB0_19
LBB0_17:
	mov	w0, #0
	ldr	w8, [x8, #48]
	b	LBB0_19
LBB0_18:
	mov	w0, #0
	ldr	w8, [x8, #56]
LBB0_19:
	str	w8, [x3, #4]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_16-LBB0_2)>>2
	.byte	(LBB0_17-LBB0_2)>>2
	.byte	(LBB0_18-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_core,4,2                       ; @core
	.comm	_g_ctrl,4,2                     ; @g_ctrl
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_bttv_g_ctrl
.subsections_via_symbols
