	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function space_store
_space_store:                           ## @space_store
	.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
	movq	%rdx, %r14
	movq	%rdi, %rbx
	leaq	-24(%rbp), %rdx
	movq	%rsi, %rdi
	movl	$10, %esi
	callq	_kstrtoul
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	movq	-24(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:
	movl	$511, %edx                      ## imm = 0x1FF
	addl	(%rcx), %edx
	sarl	$9, %edx
	movslq	%edx, %rcx
	cmpq	%rcx, %rax
	jae	LBB0_7
## %bb.6:
	movq	_EFBIG@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	%rax, (%rbx)
	movl	%r14d, %eax
	jmp	LBB0_8
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFBIG,4,2                      ## @EFBIG
	.no_dead_strip	_space_store
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function space_store
_space_store:                           ; @space_store
	.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, x2
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x1
	mov	w1, #10
	bl	_kstrtoul
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_6
; %bb.2:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_5
; %bb.3:
	ldr	w9, [x9]
	add	w9, w9, #511
	asr	w9, w9, #9
	cmp	x8, w9, sxtw
	b.hs	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _EFBIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFBIG@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
	str	x8, [x20]
	mov	x0, x19
	b	LBB0_8
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFBIG,4,2                      ; @EFBIG
	.no_dead_strip	_space_store
.subsections_via_symbols
