	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opal_hmi_handler
_opal_hmi_handler:                      ## @opal_hmi_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_OPAL_HANDLE_HMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_opal_call
	movq	_OPAL_SUCCESS@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_printf
	movl	$-1, %ecx
LBB0_2:
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPAL_HANDLE_HMI,4,2            ## @OPAL_HANDLE_HMI
	.comm	_OPAL_SUCCESS,4,2               ## @OPAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HMI handler failed!  OPAL error code: %d\n"

	.no_dead_strip	_opal_hmi_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opal_hmi_handler
_opal_hmi_handler:                      ; @opal_hmi_handler
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _OPAL_HANDLE_HMI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPAL_HANDLE_HMI@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_opal_call
Lloh3:
	adrp	x8, _OPAL_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPAL_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x1, x0
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_OPAL_HANDLE_HMI,4,2            ; @OPAL_HANDLE_HMI
	.comm	_OPAL_SUCCESS,4,2               ; @OPAL_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HMI handler failed!  OPAL error code: %d\n"

	.no_dead_strip	_opal_hmi_handler
.subsections_via_symbols
