	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mei_hbm_add_cl_resp
_mei_hbm_add_cl_resp:                   ## @mei_hbm_add_cl_resp
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	leaq	-48(%rbp), %r12
	movl	$24, %esi
	movq	%r12, %rdi
	callq	_mei_hbm_hdr
	leaq	-72(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_MEI_HBM_ADD_CLIENT_RES_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	%rbx, -64(%rbp)
	movq	%r14, -72(%rbp)
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_mei_hbm_write_message
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_2:
	movl	%ebx, %eax
	addq	$40, %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	"adding client response\n"

	.comm	_MEI_HBM_ADD_CLIENT_RES_CMD,4,2 ## @MEI_HBM_ADD_CLIENT_RES_CMD
L_.str.1:                               ## @.str.1
	.asciz	"add client response write failed: ret = %d\n"

	.no_dead_strip	_mei_hbm_add_cl_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mei_hbm_add_cl_resp
_mei_hbm_add_cl_resp:                   ; @mei_hbm_add_cl_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	add	x0, sp, #24
	mov	w1, #24
	bl	_mei_hbm_hdr
	mov	x0, sp
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh2:
	adrp	x8, _MEI_HBM_ADD_CLIENT_RES_CMD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEI_HBM_ADD_CLIENT_RES_CMD@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [sp, #16]
	stp	x20, x21, [sp]
	add	x1, sp, #24
	mov	x2, sp
	mov	x0, x19
	bl	_mei_hbm_write_message
	mov	x20, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_dev_err
LBB0_2:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"adding client response\n"

	.comm	_MEI_HBM_ADD_CLIENT_RES_CMD,4,2 ; @MEI_HBM_ADD_CLIENT_RES_CMD
l_.str.1:                               ; @.str.1
	.asciz	"add client response write failed: ret = %d\n"

	.no_dead_strip	_mei_hbm_add_cl_resp
.subsections_via_symbols
