	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ibmcam_reinit_iso
_ibmcam_reinit_iso:                     ## @ibmcam_reinit_iso
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_IBMCAM_T
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_8
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_7:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ibmcam_model4_setup_after_video_if ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	callq	_ibmcam_video_stop
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ibmcam_model3_setup_after_video_if ## TAILCALL
LBB0_5:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ibmcam_model2_setup_after_video_if ## TAILCALL
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ibmcam_video_stop
LBB0_4:
	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
	movl	(%rbx), %esi
	movl	4(%rbx), %r14d
	movl	%r14d, %edi
	callq	_usb_rcvisocpipe
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_usb_clear_halt
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ibmcam_model1_setup_after_video_if ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-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_7
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_ibmcam_reinit_iso
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ibmcam_reinit_iso
_ibmcam_reinit_iso:                     ; @ibmcam_reinit_iso
	.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	x20, x1
	mov	x19, x0
	bl	_IBMCAM_T
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %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
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibmcam_model4_setup_after_video_if
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	bl	_ibmcam_video_stop
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibmcam_model3_setup_after_video_if
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibmcam_model2_setup_after_video_if
LBB0_6:
	cbz	w20, LBB0_8
; %bb.7:
	mov	x0, x19
	bl	_ibmcam_video_stop
LBB0_8:
	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
	ldp	w1, w20, [x19]
	mov	x0, x20
	bl	_usb_rcvisocpipe
	mov	x1, x0
	mov	x0, x20
	bl	_usb_clear_halt
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ibmcam_model1_setup_after_video_if
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.no_dead_strip	_ibmcam_reinit_iso
.subsections_via_symbols
