	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alpha_handle_align             ## -- Begin function alpha_handle_align
	.p2align	4, 0x90
_alpha_handle_align:                    ## @alpha_handle_align
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_rs_align_code@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.1:
	movq	%rdi, %r12
	movq	32(%rdi), %rax
	movl	(%rax), %ebx
	movslq	12(%rdi), %r14
	movl	8(%rdi), %eax
	addl	%r14d, %eax
	subl	%eax, %ebx
	addq	16(%rdi), %r14
	movl	%ebx, %r15d
	andl	$3, %r15d
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	movl	%r15d, %eax
	addq	%rax, %r14
	andl	$-4, %ebx
LBB0_3:
	testb	$4, %bl
	je	LBB0_5
## %bb.4:
	leaq	_alpha_handle_align.unop(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	addq	$4, %r14
	orl	$4, %r15d
LBB0_5:
	leaq	_alpha_handle_align.nopunop(%rip), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_memcpy
	addl	%r15d, 12(%r12)
	movl	$8, 24(%r12)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_alpha_handle_align.unop:               ## @alpha_handle_align.unop
	.ascii	"\000\000\376/"

_alpha_handle_align.nopunop:            ## @alpha_handle_align.nopunop
	.ascii	"\037\004\377G\000\000\376/"

	.comm	_rs_align_code,8,3              ## @rs_align_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_alpha_handle_align             ; -- Begin function alpha_handle_align
	.p2align	2
_alpha_handle_align:                    ; @alpha_handle_align
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _rs_align_code@GOTPAGE
Lloh1:
	ldr	x9, [x9, _rs_align_code@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	w8, [x8]
	ldp	w9, w10, [x0, #8]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	w9, w9, w10
	sub	w22, w8, w9
	ldr	x8, [x0, #16]
	add	x21, x8, x10
	ands	w20, w22, #0x3
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x21
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	add	x21, x21, w20, uxtw
	and	w22, w22, #0xfffffffc
LBB0_3:
	tbz	w22, #2, LBB0_5
; %bb.4:
Lloh3:
	adrp	x1, _alpha_handle_align.unop@PAGE
Lloh4:
	add	x1, x1, _alpha_handle_align.unop@PAGEOFF
	mov	x0, x21
	mov	w2, #4
	bl	_memcpy
	add	x21, x21, #4
	orr	w20, w20, #0x4
LBB0_5:
Lloh5:
	adrp	x1, _alpha_handle_align.nopunop@PAGE
Lloh6:
	add	x1, x1, _alpha_handle_align.nopunop@PAGEOFF
	mov	w22, #8
	mov	x0, x21
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [x19, #12]
	add	w8, w8, w20
	str	w8, [x19, #12]
	str	w22, [x19, #24]
LBB0_6:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_alpha_handle_align.unop:               ; @alpha_handle_align.unop
	.ascii	"\000\000\376/"

_alpha_handle_align.nopunop:            ; @alpha_handle_align.nopunop
	.ascii	"\037\004\377G\000\000\376/"

	.comm	_rs_align_code,8,3              ; @rs_align_code
.subsections_via_symbols
