	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aem_register_bmc
_aem_register_bmc:                      ## @aem_register_bmc
	.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	%rsi, %rdx
	movl	%edi, %esi
	leaq	-16(%rbp), %rdi
	callq	_aem_init_ipmi_data
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_aem_init_aem1
	movq	%rbx, %rdi
	callq	_aem_init_aem2
	movl	-16(%rbp), %edi
	callq	_ipmi_destroy_user
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_aem_register_bmc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aem_register_bmc
_aem_register_bmc:                      ; @aem_register_bmc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x2, x1
	mov	x1, x0
	add	x0, sp, #8
	bl	_aem_init_ipmi_data
	cbnz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_aem_init_aem1
	add	x0, sp, #8
	bl	_aem_init_aem2
	ldr	w0, [sp, #8]
	bl	_ipmi_destroy_user
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_aem_register_bmc
.subsections_via_symbols
