	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssi_port_remove
_ssi_port_remove:                       ## @ssi_port_remove
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_platform_get_drvdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_hsi_port_drvdata
	movq	%rax, %r15
	movl	44(%rbx), %edi
	callq	_to_hsi_controller
	movq	%rax, %rdi
	callq	_hsi_controller_drvdata
	movq	%rax, %r12
	leaq	8(%r15), %rdi
	callq	_cancel_delayed_work_sync
	movq	%rbx, %rdi
	callq	_hsi_port_unregister_clients
	movq	_hsi_dummy_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_hsi_dummy_cl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	%rax, 24(%rbx)
	movq	%rax, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	%rax, (%rbx)
	movq	(%r12), %rax
	movq	(%r15), %rcx
	movq	$0, (%rax,%rcx,8)
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_platform_set_drvdata
	movq	%r14, %rdi
	callq	_pm_runtime_dont_use_autosuspend
	movq	%r14, %rdi
	callq	_pm_runtime_disable
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hsi_dummy_msg,4,2              ## @hsi_dummy_msg
	.comm	_hsi_dummy_cl,8,3               ## @hsi_dummy_cl
	.no_dead_strip	_ssi_port_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssi_port_remove
_ssi_port_remove:                       ; @ssi_port_remove
	.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	x19, x0
	bl	_platform_get_drvdata
	mov	x20, x0
	bl	_hsi_port_drvdata
	mov	x21, x0
	ldr	w0, [x20, #44]
	bl	_to_hsi_controller
	bl	_hsi_controller_drvdata
	mov	x22, x0
	add	x0, x21, #8
	bl	_cancel_delayed_work_sync
	mov	x0, x20
	bl	_hsi_port_unregister_clients
Lloh0:
	adrp	x8, _hsi_dummy_msg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _hsi_dummy_msg@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x20, #40]
Lloh3:
	adrp	x8, _hsi_dummy_cl@GOTPAGE
Lloh4:
	ldr	x8, [x8, _hsi_dummy_cl@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x8, [x20, #24]
	stp	x8, x8, [x20, #8]
	str	x8, [x20]
	ldr	x8, [x22]
	ldr	x9, [x21]
	str	xzr, [x8, x9, lsl #3]
	mov	x0, x19
	mov	x1, #0
	bl	_platform_set_drvdata
	mov	x0, x19
	bl	_pm_runtime_dont_use_autosuspend
	mov	x0, x19
	bl	_pm_runtime_disable
	mov	w0, #0
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_hsi_dummy_msg,4,2              ; @hsi_dummy_msg
	.comm	_hsi_dummy_cl,8,3               ; @hsi_dummy_cl
	.no_dead_strip	_ssi_port_remove
.subsections_via_symbols
