	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_hbm_fw_disconnect_req
_mei_hbm_fw_disconnect_req:             ## @mei_hbm_fw_disconnect_req
	.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
	movq	%rdi, %r14
	callq	_mei_hbm_cl_find_by_cmd
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_cl_warn
	movq	_MEI_FILE_DISCONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	$0, (%rbx)
	movq	_MEI_FOP_DISCONNECT_RSP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_mei_cl_enqueue_ctrl_wr_cb
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fw disconnect request received\n"

	.comm	_MEI_FILE_DISCONNECTING,4,2     ## @MEI_FILE_DISCONNECTING
	.comm	_MEI_FOP_DISCONNECT_RSP,4,2     ## @MEI_FOP_DISCONNECT_RSP
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_mei_hbm_fw_disconnect_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_hbm_fw_disconnect_req
_mei_hbm_fw_disconnect_req:             ; @mei_hbm_fw_disconnect_req
	.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, x0
	bl	_mei_hbm_cl_find_by_cmd
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_cl_warn
Lloh2:
	adrp	x8, _MEI_FILE_DISCONNECTING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEI_FILE_DISCONNECTING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	str	xzr, [x19]
Lloh5:
	adrp	x8, _MEI_FOP_DISCONNECT_RSP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MEI_FOP_DISCONNECT_RSP@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	x3, #0
	bl	_mei_cl_enqueue_ctrl_wr_cb
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fw disconnect request received\n"

	.comm	_MEI_FILE_DISCONNECTING,4,2     ; @MEI_FILE_DISCONNECTING
	.comm	_MEI_FOP_DISCONNECT_RSP,4,2     ; @MEI_FOP_DISCONNECT_RSP
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_mei_hbm_fw_disconnect_req
.subsections_via_symbols
