	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_allocate_space_in_inferior ## -- Begin function value_allocate_space_in_inferior
	.p2align	4, 0x90
_value_allocate_space_in_inferior:      ## @value_allocate_space_in_inferior
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	movq	_NAME_OF_MALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_find_function_in_inferior
	movq	%rax, %r14
	movq	_builtin_type_int@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	callq	_value_from_longest
	movq	%rax, -24(%rbp)
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_call_function_by_hand
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_value_logical_not
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_error
LBB0_2:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAME_OF_MALLOC,4,2             ## @NAME_OF_MALLOC
	.comm	_builtin_type_int,4,2           ## @builtin_type_int
	.comm	_target_has_execution,4,2       ## @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No memory available to program now: you need to start the target first"

L_.str.1:                               ## @.str.1
	.asciz	"No memory available to program: call to malloc failed"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_allocate_space_in_inferior ; -- Begin function value_allocate_space_in_inferior
	.p2align	2
_value_allocate_space_in_inferior:      ; @value_allocate_space_in_inferior
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _NAME_OF_MALLOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAME_OF_MALLOC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_find_function_in_inferior
	mov	x20, x0
Lloh3:
	adrp	x8, _builtin_type_int@GOTPAGE
Lloh4:
	ldr	x8, [x8, _builtin_type_int@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_value_from_longest
	str	x0, [sp, #8]
	add	x2, sp, #8
	mov	x0, x20
	mov	w1, #1
	bl	_call_function_by_hand
	mov	x19, x0
	bl	_value_logical_not
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh7:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, l_.str.1@PAGE
Lloh10:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh11:
	adrp	x10, l_.str@PAGE
Lloh12:
	add	x10, x10, l_.str@PAGEOFF
	cmp	w8, #0
	csel	x0, x10, x9, eq
	bl	_error
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NAME_OF_MALLOC,4,2             ; @NAME_OF_MALLOC
	.comm	_builtin_type_int,4,2           ; @builtin_type_int
	.comm	_target_has_execution,4,2       ; @target_has_execution
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No memory available to program now: you need to start the target first"

l_.str.1:                               ; @.str.1
	.asciz	"No memory available to program: call to malloc failed"

.subsections_via_symbols
