	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_align_ptr                 ## -- Begin function edac_align_ptr
	.p2align	4, 0x90
_edac_align_ptr:                        ## @edac_align_ptr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movq	(%rdi), %r8
	imull	%esi, %ecx
	addq	%r8, %rcx
	movq	%rcx, (%rdi)
	movl	$8, %eax
	cmpl	$4, %esi
	ja	LBB0_3
## %bb.1:
	movl	$4, %eax
	cmpl	$2, %esi
	ja	LBB0_3
## %bb.2:
	movl	$2, %eax
	jne	LBB0_8
LBB0_3:
	movl	%eax, %esi
	movq	%rdi, %rax
	shrq	$32, %rax
	je	LBB0_4
## %bb.5:
	movq	%rdi, %rax
	xorl	%edx, %edx
	divq	%rsi
	testl	%edx, %edx
	je	LBB0_8
LBB0_7:
	movl	%esi, %eax
	subl	%edx, %eax
	addq	%rax, %rcx
	movq	%rcx, (%rdi)
	addq	%rsi, %r8
	subq	%rdx, %r8
LBB0_8:
	movq	%r8, %rax
	popq	%rbp
	retq
LBB0_4:
	movl	%edi, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
	testl	%edx, %edx
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_edac_align_ptr                 ; -- Begin function edac_align_ptr
	.p2align	2
_edac_align_ptr:                        ; @edac_align_ptr
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0]
	mul	w9, w2, w1
	add	x9, x0, x9
	str	x9, [x8]
	cmp	w1, #4
	b.ls	LBB0_2
; %bb.1:
	mov	w10, #8
	b	LBB0_6
LBB0_2:
	cmp	w1, #2
	b.ls	LBB0_4
; %bb.3:
	mov	w10, #4
	b	LBB0_6
LBB0_4:
	b.ne	LBB0_8
; %bb.5:
	mov	w10, #2
LBB0_6:
	mov	w10, w10
	udiv	x11, x8, x10
	msub	x11, x11, x10, x8
	cbz	w11, LBB0_8
; %bb.7:
	sub	w12, w10, w11
	add	x9, x9, x12
	str	x9, [x8]
	add	x8, x10, x0
	sub	x0, x8, x11
LBB0_8:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
