	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sis630_transaction_end
_sis630_transaction_end:                ## @sis630_transaction_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_SMB_STS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_sis630_write
	movq	_SMB_CNT@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_sis630_read
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_dev_dbg
	testb	$32, %bl
	jne	LBB0_3
## %bb.1:
	movq	_high_clock@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.2:
	movl	(%r15), %ebx
	movl	%ebx, %edi
	callq	_sis630_read
	andl	$-33, %eax
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_sis630_write
LBB0_3:
	movl	(%r15), %edi
	callq	_sis630_read
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SMB_STS,4,2                    ## @SMB_STS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SMB_CNT before clock restore 0x%02x\n"

	.comm	_SMB_CNT,4,2                    ## @SMB_CNT
	.comm	_high_clock,8,3                 ## @high_clock
L_.str.1:                               ## @.str.1
	.asciz	"SMB_CNT after clock restore 0x%02x\n"

	.no_dead_strip	_sis630_transaction_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sis630_transaction_end
_sis630_transaction_end:                ; @sis630_transaction_end
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SMB_STS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMB_STS@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_sis630_write
Lloh3:
	adrp	x21, _SMB_CNT@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SMB_CNT@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_sis630_read
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	tbnz	w20, #5, LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _high_clock@GOTPAGE
Lloh8:
	ldr	x8, [x8, _high_clock@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w20, [x21]
	mov	x0, x20
	bl	_sis630_read
	and	w1, w0, #0xffffffdf
	mov	x0, x20
	bl	_sis630_write
LBB0_3:
	ldr	w0, [x21]
	bl	_sis630_read
	mov	x2, x0
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_dev_dbg
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SMB_STS,4,2                    ; @SMB_STS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SMB_CNT before clock restore 0x%02x\n"

	.comm	_SMB_CNT,4,2                    ; @SMB_CNT
	.comm	_high_clock,8,3                 ; @high_clock
l_.str.1:                               ; @.str.1
	.asciz	"SMB_CNT after clock restore 0x%02x\n"

	.no_dead_strip	_sis630_transaction_end
.subsections_via_symbols
