	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_config
_parse_config:                          ## @parse_config
	.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	%r13
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %r8
	movl	(%r8), %ecx
	movl	%ecx, %r10d
	andl	$3, %r10d
	movl	%r10d, %edx
	movl	%ecx, %r11d
	shrl	$2, %r11d
	andl	$15, %r11d
	movl	(%rdi), %r9d
	leal	(%r11,%rdx), %eax
	addl	$4, %eax
	subl	%eax, %r9d
	jge	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_13
LBB0_2:
	movl	4(%r8), %eax
	movl	%eax, (%rsi)
	incq	%r10
	movslq	8(%r8), %rax
	testl	%edx, %edx
	je	LBB0_6
## %bb.3:
	movl	12(%r8), %edx
	shll	$8, %edx
	movslq	%edx, %rdx
	addq	%rdx, %rax
	cmpl	$2, %r10d
	je	LBB0_6
## %bb.4:
	movl	16(%r8), %edx
	shll	$16, %edx
	movslq	%edx, %rdx
	addq	%rdx, %rax
	cmpl	$3, %r10d
	je	LBB0_6
## %bb.5:
	movl	20(%r8), %edx
	shll	$24, %edx
	movslq	%edx, %rdx
	addq	%rdx, %rax
LBB0_6:
	movq	%rax, 16(%rsi)
	movq	8(%rsi), %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%r15)
	movups	%xmm0, (%r15)
	incq	%r11
	testb	$60, %cl
	je	LBB0_7
## %bb.8:
	movl	%r11d, %r14d
	andl	$-2, %r14d
	andl	$3, %ecx
	leaq	(%r8,%rcx,4), %r12
	addq	$16, %r12
	movl	$8, %edx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%r12,%r13,4), %edi
	leal	-8(%rdx), %ecx
	andb	$16, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movslq	%edi, %rdi
	movl	%r13d, %eax
	andl	$-4, %eax
	addq	(%r15,%rax,2), %rdi
	movq	%rdi, (%r15,%rax,2)
	movl	(%r12,%r13,4), %ebx
	movl	%edx, %ecx
	andb	$24, %cl
	shll	%cl, %ebx
	movslq	%ebx, %rcx
	addq	%rdi, %rcx
	movq	%rcx, (%r15,%rax,2)
	addq	$2, %r13
	addl	$16, %edx
	cmpq	%r13, %r14
	jne	LBB0_9
## %bb.10:
	testb	$1, %r11b
	je	LBB0_12
LBB0_11:
	addq	$8, %r8
	leaq	(%r8,%r10,4), %rax
	movl	(%rax,%r13,4), %eax
	leal	(,%r13,8), %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	cltq
	andl	$-4, %r13d
	addq	%rax, (%r15,%r13,2)
LBB0_12:
	movl	%r9d, 4(%rsi)
	xorl	%eax, %eax
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%r13d, %r13d
	testb	$1, %r11b
	jne	LBB0_11
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_parse_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_config
_parse_config:                          ; @parse_config
	.cfi_startproc
; %bb.0:
	ldr	x10, [x0, #8]
	ldr	w8, [x10]
	and	x13, x8, #0x3
	ubfx	x9, x8, #2, #4
	ldr	w8, [x0]
	add	w11, w9, w13
	add	w11, w11, #4
	subs	w8, w8, w11
	b.ge	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	ldr	w11, [x10, #4]
	str	w11, [x1]
	mov	x11, x10
	ldrsw	x14, [x11, #8]!
	add	x12, x13, #1
	cbz	w13, LBB0_6
; %bb.3:
	ldr	w13, [x10, #12]
	lsl	w13, w13, #8
	add	x14, x14, w13, sxtw
	cmp	w12, #2
	b.eq	LBB0_6
; %bb.4:
	ldr	w13, [x10, #16]
	lsl	w13, w13, #16
	add	x14, x14, w13, sxtw
	cmp	w12, #3
	b.eq	LBB0_6
; %bb.5:
	ldr	w10, [x10, #20]
	lsl	w10, w10, #24
	add	x14, x14, w10, sxtw
LBB0_6:
	mov	w10, #0
	mov	x13, #0
	str	x14, [x1, #16]
	ldr	x14, [x1, #8]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x14]
	add	x11, x11, x12, lsl #2
	add	x9, x9, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11, x13, lsl #2]
	and	w15, w10, #0x18
	lsl	w12, w12, w15
	ubfx	x15, x13, #2, #30
	lsl	x15, x15, #3
	ldr	x16, [x14, x15]
	add	x12, x16, w12, sxtw
	str	x12, [x14, x15]
	add	x13, x13, #1
	add	w10, w10, #8
	cmp	x9, x13
	b.ne	LBB0_7
; %bb.8:
	mov	w0, #0
	str	w8, [x1, #4]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_parse_config
.subsections_via_symbols
