	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_input_from_desc
_store_input_from_desc:                 ## @store_input_from_desc
	.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	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpq	$0, 16(%rsi)
	je	LBB0_4
## %bb.1:
	movl	8(%rbx), %edi
	movl	4(%r15), %esi
	callq	_ecpg_alloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movl	4(%rbx), %esi
	movl	8(%rbx), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movl	$1, %eax
	jmp	LBB0_8
LBB0_4:
	movq	_ECPGt_char@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	4(%rbx), %r12
	movl	4(%rbx), %edi
	callq	_strlen
	movl	%eax, -44(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	%r12, -56(%rbp)
	movl	$1, -104(%rbp)
	movq	$0, -64(%rbp)
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.6:
	movq	_ECPGt_int@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	leaq	-88(%rbp), %rax
	movq	%rbx, -88(%rbp)
	movq	%rax, -80(%rbp)
	movl	$1, %eax
	jmp	LBB0_7
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movq	_ECPGt_NO_INDICATOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	xorl	%eax, %eax
LBB0_7:
	movl	$0, -92(%rbp)
	movl	%eax, -96(%rbp)
	movl	%eax, -100(%rbp)
	movl	(%r15), %esi
	movl	4(%r15), %edi
	leaq	-104(%rbp), %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_ecpg_store_input
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
LBB0_8:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ECPGt_char,4,2                 ## @ECPGt_char
	.comm	_ECPGt_NO_INDICATOR,4,2         ## @ECPGt_NO_INDICATOR
	.comm	_ECPGt_int,4,2                  ## @ECPGt_int
	.no_dead_strip	_store_input_from_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_input_from_desc
_store_input_from_desc:                 ; @store_input_from_desc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	x8, [x1, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x21, #8]
	ldr	w1, [x20, #4]
	bl	_ecpg_alloc
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.2:
	ldp	w1, w2, [x21, #4]
	bl	_memcpy
	mov	w0, #1
	b	LBB0_7
LBB0_3:
Lloh0:
	adrp	x8, _ECPGt_char@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECPGt_char@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #72]
	mov	x22, x21
	ldr	w0, [x22, #4]!
	bl	_strlen
	ldr	w8, [x22]
	stp	w8, w0, [sp, #64]
	mov	w8, #1
	str	w8, [sp, #8]
	stp	xzr, x22, [sp, #48]
	ldr	w8, [x21]
	cbz	w8, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _ECPGt_int@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ECPGt_int@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	add	x8, sp, #8
	add	x8, x8, #16
	stp	x21, x8, [sp, #24]
	mov	w8, #1
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x9, _ECPGt_NO_INDICATOR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ECPGt_NO_INDICATOR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w9, [sp, #40]
	stp	xzr, xzr, [sp, #24]
LBB0_6:
	stp	w8, wzr, [sp, #16]
	str	w8, [sp, #12]
	ldp	w1, w0, [x20]
	add	x2, sp, #8
	mov	x3, x19
	mov	w4, #0
	bl	_ecpg_store_input
	cmp	w0, #0
	cset	w0, ne
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ECPGt_char,4,2                 ; @ECPGt_char
	.comm	_ECPGt_NO_INDICATOR,4,2         ; @ECPGt_NO_INDICATOR
	.comm	_ECPGt_int,4,2                  ; @ECPGt_int
	.no_dead_strip	_store_input_from_desc
.subsections_via_symbols
