	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SmpcSetTiming
_SmpcSetTiming:                         ## @SmpcSetTiming
	.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	_SmpcRegs@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movl	(%rcx), %esi
	cmpq	$26, %rsi
	ja	LBB0_4
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_SMPCLOG
	movq	(%rbx), %rax
	movl	$0, 16(%rax)
	jmp	LBB0_9
LBB0_5:
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	xorl	%eax, %eax
	callq	_SMPCLOG
LBB0_7:
	movq	_SmpcInternalVars@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_8:
	movl	$1, (%rax)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_10:
	movq	_SmpcInternalVars@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, 4(%rax)
	je	LBB0_12
LBB0_11:
	movl	$16000, (%rax)                  ## imm = 0x3E80
	movq	_intback_wait_for_line@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	movq	8(%rcx), %rcx
	movl	(%rcx), %edx
	testl	%edx, %edx
	je	LBB0_15
## %bb.13:
	cmpl	$1, %edx
	jne	LBB0_9
## %bb.14:
	movl	$250, (%rax)
	jmp	LBB0_9
LBB0_15:
	testb	$8, 4(%rcx)
	je	LBB0_9
	jmp	LBB0_11
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_SmpcRegs,8,3                   ## @SmpcRegs
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"smpc\t: MSHON not implemented\n"

	.comm	_SmpcInternalVars,8,3           ## @SmpcInternalVars
L_.str.1:                               ## @.str.1
	.asciz	"smpc\t: CDON not implemented\n"

L_.str.2:                               ## @.str.2
	.asciz	"smpc\t: CDOFF not implemented\n"

	.comm	_intback_wait_for_line,4,2      ## @intback_wait_for_line
L_.str.3:                               ## @.str.3
	.asciz	"smpc\t: unimplemented command: %02X\n"

	.no_dead_strip	_SmpcSetTiming
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SmpcSetTiming
_SmpcSetTiming:                         ; @SmpcSetTiming
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _SmpcRegs@GOTPAGE
Lloh1:
	ldr	x19, [x19, _SmpcRegs@GOTPAGEOFF]
	ldr	x9, [x19]
	ldr	w8, [x9]
	cmp	w8, #26
	b.hi	LBB0_4
; %bb.1:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x8]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_SMPCLOG
	ldr	x8, [x19]
	str	wzr, [x8, #16]
	b	LBB0_10
LBB0_5:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_SMPCLOG
LBB0_7:
Lloh12:
	adrp	x8, _SmpcInternalVars@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SmpcInternalVars@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
LBB0_8:
	mov	w9, #1
LBB0_9:
	str	w9, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
Lloh15:
	adrp	x8, _SmpcInternalVars@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SmpcInternalVars@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	w10, [x8, #4]
	cbz	w10, LBB0_13
LBB0_12:
	mov	w9, #16000
	str	w9, [x8]
Lloh18:
	adrp	x8, _intback_wait_for_line@GOTPAGE
Lloh19:
	ldr	x8, [x8, _intback_wait_for_line@GOTPAGEOFF]
	b	LBB0_8
LBB0_13:
	ldr	x9, [x9, #8]
	ldr	w10, [x9]
	cbz	w10, LBB0_16
; %bb.14:
	cmp	w10, #1
	b.ne	LBB0_10
; %bb.15:
	mov	w9, #250
	b	LBB0_9
LBB0_16:
	ldrb	w9, [x9, #4]
	tbz	w9, #3, LBB0_10
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_SmpcRegs,8,3                   ; @SmpcRegs
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"smpc\t: MSHON not implemented\n"

	.comm	_SmpcInternalVars,8,3           ; @SmpcInternalVars
l_.str.1:                               ; @.str.1
	.asciz	"smpc\t: CDON not implemented\n"

l_.str.2:                               ; @.str.2
	.asciz	"smpc\t: CDOFF not implemented\n"

	.comm	_intback_wait_for_line,4,2      ; @intback_wait_for_line
l_.str.3:                               ; @.str.3
	.asciz	"smpc\t: unimplemented command: %02X\n"

	.no_dead_strip	_SmpcSetTiming
.subsections_via_symbols
