	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmcam_video_stop
_ibmcam_video_stop:                     ## @ibmcam_video_stop
	.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
	movq	%rdi, %rbx
	callq	_IBMCAM_T
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_6
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$268, %ecx                      ## imm = 0x10C
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	movl	$48, %esi
	movl	$4, %edx
	callq	_ibmcam_model2_Packet1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	movl	$273, %ecx                      ## imm = 0x111
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$160, %edx
	movl	$273, %ecx                      ## imm = 0x111
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	movl	$48, %esi
	movl	$2, %edx
	callq	_ibmcam_model2_Packet1
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	movl	$273, %ecx                      ## imm = 0x111
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$274, %ecx                      ## imm = 0x112
	jmp	LBB0_3
LBB0_5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$268, %ecx                      ## imm = 0x10C
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$6, %edx
	movl	$300, %ecx                      ## imm = 0x12C
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	movl	$70, %esi
	xorl	%edx, %edx
	callq	_ibmcam_model3_Packet1
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$278, %ecx                      ## imm = 0x116
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$100, %edx
	movl	$278, %ecx                      ## imm = 0x116
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$277, %ecx                      ## imm = 0x115
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$3, %edx
	movl	$277, %ecx                      ## imm = 0x115
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	movl	$291, %ecx                      ## imm = 0x123
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$279, %ecx                      ## imm = 0x117
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$274, %ecx                      ## imm = 0x112
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	callq	_IBMCAM_T
	movl	$0, 4(%rax)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$268, %ecx                      ## imm = 0x10C
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$268, %ecx                      ## imm = 0x10C
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$276, %ecx                      ## imm = 0x114
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$192, %edx
	movl	$268, %ecx                      ## imm = 0x10C
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$268, %ecx                      ## imm = 0x10C
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	callq	_ibmcam_send_FF_04_02
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	movl	$256, %ecx                      ## imm = 0x100
	callq	_ibmcam_veio
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$129, %edx
	movl	$256, %ecx                      ## imm = 0x100
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ibmcam_veio                    ## TAILCALL
	.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_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_ibmcam_video_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmcam_video_stop
_ibmcam_video_stop:                     ; @ibmcam_video_stop
	.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	_IBMCAM_T
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #268
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #48
	mov	w2, #4
	bl	_ibmcam_model2_Packet1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #128
	mov	w3, #256
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	mov	w3, #273
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #160
	mov	w3, #273
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #48
	mov	w2, #2
	bl	_ibmcam_model2_Packet1
	mov	x0, x19
	mov	w1, #0
	mov	w2, #32
	mov	w3, #273
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #274
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #268
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #6
	mov	w3, #300
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #70
	mov	w2, #0
	bl	_ibmcam_model3_Packet1
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #278
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #100
	mov	w3, #278
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #277
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #3
	mov	w3, #277
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	mov	w3, #291
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #279
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #274
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #128
	mov	w3, #256
	bl	_ibmcam_veio
	mov	x0, x19
	bl	_IBMCAM_T
	str	wzr, [x0, #4]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #268
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #268
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	mov	w3, #276
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #192
	mov	w3, #268
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #268
	bl	_ibmcam_veio
	mov	x0, x19
	bl	_ibmcam_send_FF_04_02
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #256
	bl	_ibmcam_veio
	mov	x0, x19
	mov	w1, #0
	mov	w2, #129
	mov	w3, #256
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibmcam_veio
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_ibmcam_video_stop
.subsections_via_symbols
