	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SzAlignedAlloc
_SzAlignedAlloc:                        ## @SzAlignedAlloc
	.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	%rsi, %r12
	callq	_UNUSED_VAR
	movq	_ALLOC_ALIGN_SIZE@GOTPCREL(%rip), %r15
	movslq	(%r15), %rbx
	addq	%r12, %rbx
	movq	_ADJUST_ALLOC_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	cmpq	%r12, %rbx
	jb	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_MyAlloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r14
	movl	(%r15), %esi
	movq	%rax, %rdi
	callq	_MY_ALIGN_PTR_UP_PLUS
	movq	%rax, %r15
	leaq	L_.str(%rip), %rdi
	callq	_Print
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_PrintHex
	leaq	L_.str.1(%rip), %rdi
	callq	_Print
	movq	%rbx, %rdi
	movl	$8, %esi
	callq	_PrintHex
	leaq	L_.str.2(%rip), %rdi
	callq	_Print
	movq	%r14, %rdi
	callq	_PrintAddr
	leaq	L_.str.3(%rip), %rdi
	callq	_Print
	movq	%r15, %rdi
	callq	_PrintAddr
	xorl	%eax, %eax
	callq	_PrintLn
	movq	%r14, -8(%r15)
	jmp	LBB0_5
LBB0_4:
	xorl	%r15d, %r15d
LBB0_5:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALLOC_ALIGN_SIZE,4,2           ## @ALLOC_ALIGN_SIZE
	.comm	_ADJUST_ALLOC_SIZE,8,3          ## @ADJUST_ALLOC_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" size="

L_.str.1:                               ## @.str.1
	.asciz	" a_size="

L_.str.2:                               ## @.str.2
	.asciz	" ptr="

L_.str.3:                               ## @.str.3
	.asciz	" a_ptr="

	.no_dead_strip	_SzAlignedAlloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SzAlignedAlloc
_SzAlignedAlloc:                        ; @SzAlignedAlloc
	.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	x21, x1
	bl	_UNUSED_VAR
Lloh0:
	adrp	x20, _ALLOC_ALIGN_SIZE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ALLOC_ALIGN_SIZE@GOTPAGEOFF]
	ldrsw	x8, [x20]
Lloh2:
	adrp	x9, _ADJUST_ALLOC_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ADJUST_ALLOC_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x8, x8, x21
	add	x22, x8, x9
	cmp	x22, x21
	b.lo	LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_MyAlloc
	cbz	x0, LBB0_3
; %bb.2:
	mov	x19, x0
	ldr	w1, [x20]
	bl	_MY_ALIGN_PTR_UP_PLUS
	mov	x20, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Print
	mov	x0, x21
	mov	w1, #8
	bl	_PrintHex
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Print
	mov	x0, x22
	mov	w1, #8
	bl	_PrintHex
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Print
	mov	x0, x19
	bl	_PrintAddr
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Print
	mov	x0, x20
	bl	_PrintAddr
	bl	_PrintLn
	stur	x19, [x20, #-8]
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ALLOC_ALIGN_SIZE,4,2           ; @ALLOC_ALIGN_SIZE
	.comm	_ADJUST_ALLOC_SIZE,8,3          ; @ADJUST_ALLOC_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" size="

l_.str.1:                               ; @.str.1
	.asciz	" a_size="

l_.str.2:                               ; @.str.2
	.asciz	" ptr="

l_.str.3:                               ; @.str.3
	.asciz	" a_ptr="

	.no_dead_strip	_SzAlignedAlloc
.subsections_via_symbols
