	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipmi_smi_probe_complete_register ## -- Begin function ipmi_smi_probe_complete_register
	.p2align	4, 0x90
_ipmi_smi_probe_complete_register:      ## @ipmi_smi_probe_complete_register
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_smi_probe_complete_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	leaq	8(%rbx), %rdi
	movq	_smi_probe_complete@GOTPCREL(%rip), %rsi
	callq	_list_add
	movq	_probing_complete@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	*%rcx
LBB0_3:
	movq	_smi_probe_complete_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smi_probe_complete_mutex,4,2   ## @smi_probe_complete_mutex
	.comm	_smi_probe_complete,4,2         ## @smi_probe_complete
	.comm	_probing_complete,8,3           ## @probing_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipmi_smi_probe_complete_register ; -- Begin function ipmi_smi_probe_complete_register
	.p2align	2
_ipmi_smi_probe_complete_register:      ; @ipmi_smi_probe_complete_register
	.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	x19, x0
Lloh0:
	adrp	x0, _smi_probe_complete_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _smi_probe_complete_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	add	x0, x19, #8
Lloh2:
	adrp	x1, _smi_probe_complete@GOTPAGE
Lloh3:
	ldr	x1, [x1, _smi_probe_complete@GOTPAGEOFF]
	bl	_list_add
Lloh4:
	adrp	x8, _probing_complete@GOTPAGE
Lloh5:
	ldr	x8, [x8, _probing_complete@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.2:
	blr	x8
LBB0_3:
Lloh7:
	adrp	x0, _smi_probe_complete_mutex@GOTPAGE
Lloh8:
	ldr	x0, [x0, _smi_probe_complete_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_smi_probe_complete_mutex,4,2   ; @smi_probe_complete_mutex
	.comm	_smi_probe_complete,4,2         ; @smi_probe_complete
	.comm	_probing_complete,8,3           ; @probing_complete
.subsections_via_symbols
