	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_pci_alloc_ctl_info        ## -- Begin function edac_pci_alloc_ctl_info
	.p2align	4, 0x90
_edac_pci_alloc_ctl_info:               ## @edac_pci_alloc_ctl_info
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r15d
	movq	$0, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_edac_dbg
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$16, %esi
	movl	$1, %edx
	callq	_edac_align_ptr
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	%r15d, %edx
	callq	_edac_align_ptr
	movq	%rax, %r12
	leal	(%rax,%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rax
	addq	%r12, %rax
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	cmovneq	%rax, %rcx
	movq	%rcx, 8(%rbx)
	movq	_OP_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%rbx), %r15d
	movq	%r14, %rdi
	callq	_strlen
	leaq	1(%rax), %rsi
	leaq	L_.str.1(%rip), %rdx
	movl	%r15d, %edi
	movq	%r14, %rcx
	callq	_snprintf
LBB0_2:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_OP_ALLOC,4,2                   ## @OP_ALLOC
L_.str.1:                               ## @.str.1
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_pci_alloc_ctl_info        ; -- Begin function edac_pci_alloc_ctl_info
	.p2align	2
_edac_pci_alloc_ctl_info:               ; @edac_pci_alloc_ctl_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_edac_dbg
	add	x0, sp, #8
	mov	w1, #16
	mov	w2, #1
	bl	_edac_align_ptr
	add	x0, sp, #8
	mov	w1, #1
	mov	x2, x20
	bl	_edac_align_ptr
	mov	x22, x0
	add	w0, w22, w20
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kzalloc
	mov	x21, x0
	cbz	x0, LBB0_2
; %bb.1:
	add	x8, x21, x22
	cmp	w20, #0
	csel	x8, xzr, x8, eq
	str	x8, [x21, #8]
Lloh5:
	adrp	x8, _OP_ALLOC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OP_ALLOC@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	ldr	w20, [x21]
	mov	x0, x19
	bl	_strlen
	add	x1, x0, #1
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_snprintf
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_OP_ALLOC,4,2                   ; @OP_ALLOC
l_.str.1:                               ; @.str.1
	.asciz	"%s"

.subsections_via_symbols
