	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function config_input
_config_input:                          ## @config_input
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_GRID_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	%ecx, %ecx
	imull	4(%rax), %ecx
	imull	8(%rax), %ecx
	shll	$10, %ecx
	leal	127(%rcx), %edx
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edx
	sarl	$7, %edx
	movl	%edx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GRID_SIZE,4,2                  ## @GRID_SIZE
	.no_dead_strip	_config_input
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function config_input
_config_input:                          ; @config_input
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _GRID_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GRID_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ldp	w10, w11, [x8, #4]
	mul	w9, w9, w9
	mul	w9, w9, w10
	mul	w9, w9, w11
	lsl	w10, w9, #10
	mov	w11, #127
	bfi	w11, w9, #10, #22
	cmp	w10, #0
	csel	w9, w11, w10, lt
	asr	w9, w9, #7
	str	w9, [x8]
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GRID_SIZE,4,2                  ; @GRID_SIZE
	.no_dead_strip	_config_input
.subsections_via_symbols
