	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipmi_request_wait_for_response
_ipmi_request_wait_for_response:        ## @ipmi_request_wait_for_response
	.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
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_init_completion
	movq	_halt_recv_msg@GOTPCREL(%rip), %r13
	movq	_halt_smi_msg@GOTPCREL(%rip), %r9
	movl	%ebx, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	movq	%r12, %r8
	pushq	$0
	pushq	%r13
	callq	_ipmi_request_supply_msgs
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	-48(%rbp), %rdi
	callq	_wait_for_completion
	movq	(%r13), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_halt_smi_msg,4,2               ## @halt_smi_msg
	.comm	_halt_recv_msg,8,3              ## @halt_recv_msg
	.no_dead_strip	_ipmi_request_wait_for_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipmi_request_wait_for_response
_ipmi_request_wait_for_response:        ; @ipmi_request_wait_for_response
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #8
	bl	_init_completion
Lloh0:
	adrp	x5, _halt_smi_msg@GOTPAGE
Lloh1:
	ldr	x5, [x5, _halt_smi_msg@GOTPAGEOFF]
Lloh2:
	adrp	x19, _halt_recv_msg@GOTPAGE
Lloh3:
	ldr	x19, [x19, _halt_recv_msg@GOTPAGEOFF]
	add	x4, sp, #8
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	mov	x3, x20
	mov	x6, x19
	mov	w7, #0
	bl	_ipmi_request_supply_msgs
	cbnz	w0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_wait_for_completion
	ldr	x8, [x19]
	ldr	w0, [x8]
LBB0_2:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_halt_smi_msg,4,2               ; @halt_smi_msg
	.comm	_halt_recv_msg,8,3              ; @halt_recv_msg
	.no_dead_strip	_ipmi_request_wait_for_response
.subsections_via_symbols
