	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aem_init_ipmi_data
_aem_init_ipmi_data:                    ## @aem_init_ipmi_data
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	addq	$48, %rdi
	callq	_init_completion
	movq	%r14, 40(%rbx)
	movq	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_IPMI_BMC_CHANNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	24(%rbx), %rax
	movq	$0, (%rax)
	movl	%r15d, (%rbx)
	movq	$0, 16(%rbx)
	movq	_AEM_NETFN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	4(%rbx), %rcx
	movq	_driver_data@GOTPCREL(%rip), %rsi
	movl	%r15d, %edi
	movq	%rbx, %rdx
	callq	_ipmi_create_user
	movl	%eax, %r15d
	xorl	%eax, %eax
	testl	%r15d, %r15d
	jns	LBB0_2
## %bb.1:
	movl	(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	%r15d, %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,2 ## @IPMI_SYSTEM_INTERFACE_ADDR_TYPE
	.comm	_IPMI_BMC_CHANNEL,4,2           ## @IPMI_BMC_CHANNEL
	.comm	_AEM_NETFN,4,2                  ## @AEM_NETFN
	.comm	_driver_data,4,2                ## @driver_data
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to register user with IPMI interface %d\n"

	.no_dead_strip	_aem_init_ipmi_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aem_init_ipmi_data
_aem_init_ipmi_data:                    ; @aem_init_ipmi_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, x0, #48
	bl	_init_completion
	str	x19, [x20, #40]
Lloh0:
	adrp	x8, _IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPMI_SYSTEM_INTERFACE_ADDR_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IPMI_BMC_CHANNEL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IPMI_BMC_CHANNEL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #32]
	ldr	x8, [x20, #24]
	str	xzr, [x8]
	str	w21, [x20]
	str	xzr, [x20, #16]
Lloh6:
	adrp	x8, _AEM_NETFN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AEM_NETFN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	add	x3, x20, #4
Lloh9:
	adrp	x1, _driver_data@GOTPAGE
Lloh10:
	ldr	x1, [x1, _driver_data@GOTPAGEOFF]
	mov	x0, x21
	mov	x2, x20
	bl	_ipmi_create_user
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_3
LBB0_2:
	mov	x21, x0
	ldr	w2, [x20]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IPMI_SYSTEM_INTERFACE_ADDR_TYPE,4,2 ; @IPMI_SYSTEM_INTERFACE_ADDR_TYPE
	.comm	_IPMI_BMC_CHANNEL,4,2           ; @IPMI_BMC_CHANNEL
	.comm	_AEM_NETFN,4,2                  ; @AEM_NETFN
	.comm	_driver_data,4,2                ; @driver_data
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to register user with IPMI interface %d\n"

	.no_dead_strip	_aem_init_ipmi_data
.subsections_via_symbols
