	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssi_stop_tx
_ssi_stop_tx:                           ## @ssi_stop_tx
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_hsi_get_port
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_hsi_port_drvdata
	movq	%rax, %rbx
	leaq	4(%r14), %r15
	movl	4(%r14), %edi
	callq	_to_hsi_controller
	movq	%rax, %rdi
	callq	_hsi_controller_drvdata
	movq	%rax, %r12
	movq	8(%rbx), %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_dbg
	leaq	4(%rbx), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_BUG_ON
	decq	8(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	callq	_SSI_WAKE
	movl	%eax, %r13d
	movq	(%r12), %r12
	movl	(%r14), %edi
	callq	_SSI_CLEAR_WAKE_REG
	addq	%rax, %r12
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_writel
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movl	(%rbx), %edi
	callq	_pm_runtime_mark_last_busy
	movl	(%rbx), %edi
	callq	_pm_runtime_put_autosuspend
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Wake out low %d\n"

	.no_dead_strip	_ssi_stop_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssi_stop_tx
_ssi_stop_tx:                           ; @ssi_stop_tx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	bl	_hsi_get_port
	mov	x20, x0
	bl	_hsi_port_drvdata
	mov	x19, x0
	mov	x21, x20
	ldr	w0, [x21, #4]!
	bl	_to_hsi_controller
	bl	_hsi_controller_drvdata
	mov	x22, x0
	ldr	x2, [x19, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_dbg
	add	x21, x19, #4
	mov	x0, x21
	bl	_spin_lock_bh
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_BUG_ON
	ldr	x8, [x19, #8]
	subs	x8, x8, #1
	str	x8, [x19, #8]
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_spin_unlock_bh
	b	LBB0_3
LBB0_2:
	mov	w0, #0
	bl	_SSI_WAKE
	mov	x23, x0
	ldr	x22, [x22]
	ldr	w0, [x20]
	bl	_SSI_CLEAR_WAKE_REG
	add	x1, x0, x22
	mov	x0, x23
	bl	_writel
	mov	x0, x21
	bl	_spin_unlock_bh
	ldr	w0, [x19]
	bl	_pm_runtime_mark_last_busy
	ldr	w0, [x19]
	bl	_pm_runtime_put_autosuspend
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Wake out low %d\n"

	.no_dead_strip	_ssi_stop_tx
.subsections_via_symbols
