	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipmi_alloc_recv_msg
_ipmi_alloc_recv_msg:                   ## @ipmi_alloc_recv_msg
	.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	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, 8(%rbx)
	movq	_free_recv_msg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_recv_msg_inuse_count@GOTPCREL(%rip), %rdi
	callq	_atomic_inc
LBB0_2:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_free_recv_msg,4,2              ## @free_recv_msg
	.comm	_recv_msg_inuse_count,4,2       ## @recv_msg_inuse_count
	.no_dead_strip	_ipmi_alloc_recv_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipmi_alloc_recv_msg
_ipmi_alloc_recv_msg:                   ; @ipmi_alloc_recv_msg
	.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
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	str	xzr, [x19, #8]
Lloh3:
	adrp	x8, _free_recv_msg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _free_recv_msg@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh6:
	adrp	x0, _recv_msg_inuse_count@GOTPAGE
Lloh7:
	ldr	x0, [x0, _recv_msg_inuse_count@GOTPAGEOFF]
	bl	_atomic_inc
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_free_recv_msg,4,2              ; @free_recv_msg
	.comm	_recv_msg_inuse_count,4,2       ; @recv_msg_inuse_count
	.no_dead_strip	_ipmi_alloc_recv_msg
.subsections_via_symbols
