	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function graph_config_pointers
_graph_config_pointers:                 ## @graph_config_pointers
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %r10d
	testq	%r10, %r10
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %r9
	xorl	%r11d, %r11d
	movq	_INT_MAX@GOTPCREL(%rip), %r8
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r11
	cmpq	%r10, %r11
	je	LBB0_24
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
	movq	(%r9,%r11,8), %r15
	movl	(%r15), %r12d
	testq	%r12, %r12
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r15), %rax
	leaq	-1(%r12), %rcx
	movl	%r12d, %edi
	andl	$3, %edi
	cmpq	$3, %rcx
	jae	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %ecx
	andl	$-4, %ecx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	movq	8(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	8(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	movq	16(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	16(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	movq	24(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	24(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	addq	$4, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_13
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rdx,8), %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rcx,8), %rdx
	movq	%rbx, 8(%rdx)
	movq	(%rax,%rcx,8), %rdx
	movl	$-1, (%rdx)
	incq	%rcx
	cmpq	%rcx, %rdi
	jne	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %edi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %rax
	leaq	-1(%rdi), %rdx
	movl	%edi, %ecx
	andl	$3, %ecx
	cmpq	$3, %rdx
	jae	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r8), %eax
	subl	%r13d, %eax
	cmpl	%eax, %r12d
	ja	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=1
	addl	%r13d, %r12d
	movl	%r12d, %r13d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	andl	$-4, %edi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	movq	8(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	8(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	movq	16(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	16(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	movq	24(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	24(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	addq	$4, %rdx
	cmpq	%rdx, %rdi
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	je	LBB0_23
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rax,%rdx,8), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rdx,8), %rsi
	movq	%rbx, 8(%rsi)
	movq	(%rax,%rdx,8), %rsi
	movl	$-1, (%rsi)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_18
	jmp	LBB0_23
LBB0_1:
	xorl	%r13d, %r13d
LBB0_24:
	movl	%r13d, %edi
	movl	$8, %esi
	callq	_av_calloc
	testq	%rax, %rax
	je	LBB0_27
## %bb.25:
	movq	%rax, %r15
	movl	(%rbx), %edx
	testq	%rdx, %rdx
	je	LBB0_26
## %bb.28:
	movq	%r15, %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%r10d, %r10d
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_29 Depth=1
	incq	%r12
	cmpq	%rdx, %r12
	je	LBB0_39
LBB0_29:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_34 Depth 2
	movq	16(%rbx), %rax
	movq	(%rax,%r12,8), %r14
	cmpl	$0, 4(%r14)
	jne	LBB0_38
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movl	(%r14), %r11d
	testq	%r11, %r11
	je	LBB0_38
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=1
	movslq	%r10d, %r10
	movq	8(%r14), %rax
	cmpl	$1, %r11d
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_29 Depth=1
	xorl	%ecx, %ecx
	testb	$1, %r11b
	je	LBB0_38
	jmp	LBB0_37
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=1
	movl	%r11d, %r13d
	andl	$-2, %r13d
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r10,8), %r9
	movl	%r10d, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_29 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -8(%r9,%rcx,8)
	movq	8(%r14), %rax
	movq	(%rax,%rcx,8), %r8
	leal	(%rdx,%rcx), %r15d
	movl	%r15d, (%r8)
	movq	8(%rax,%rcx,8), %rax
	movq	%rax, (%r9,%rcx,8)
	movq	8(%r14), %rax
	movq	8(%rax,%rcx,8), %rdi
	leal	(%rdx,%rcx), %esi
	incl	%esi
	movl	%esi, (%rdi)
	addq	$2, %rcx
	cmpq	%rcx, %r13
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_29 Depth=1
	addq	%rcx, %r10
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	testb	$1, %r11b
	je	LBB0_38
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	(%rax,%rcx,8), %rax
	movq	%rax, (%r15,%r10,8)
	movq	8(%r14), %rax
	movq	(%rax,%rcx,8), %rax
	movl	%r10d, (%rax)
	incq	%r10
	jmp	LBB0_38
LBB0_27:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_26:
	xorl	%r10d, %r10d
LBB0_39:
	xorl	%edi, %edi
	cmpl	%r13d, %r10d
	sete	%dil
	callq	_av_assert0
	movq	%r15, 8(%rbx)
	movl	%r13d, 4(%rbx)
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_graph_config_pointers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function graph_config_pointers
_graph_config_pointers:                 ; @graph_config_pointers
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.1:
	mov	x9, #0
	mov	w20, #0
	ldr	x10, [x19, #16]
Lloh0:
	adrp	x11, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x11, [x11, _INT_MAX@GOTPAGEOFF]
	mov	w12, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x9, x8
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x14, [x10, x9, lsl #3]
	ldr	w13, [x14]
	cbz	w13, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x15, [x14, #8]
	mov	x16, x13
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x17, [x15]
	str	x19, [x17, #8]
	ldr	x17, [x15], #8
	str	w12, [x17]
	subs	x16, x16, #1
	b.ne	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w15, [x14, #4]
	cbz	w15, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x14, #16]
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x14, [x13]
	str	x19, [x14, #8]
	ldr	x14, [x13], #8
	str	w12, [x14]
	subs	x15, x15, #1
	b.ne	LBB0_8
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w14, [x11]
	sub	w14, w14, w20
	cmp	w13, w14
	b.hi	LBB0_24
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w13, w20
	b	LBB0_2
LBB0_11:
	mov	w20, #0
LBB0_12:
	mov	x0, x20
	mov	w1, #8
	bl	_av_calloc
	cbz	x0, LBB0_21
; %bb.13:
	mov	x21, x0
	ldr	w8, [x19]
	cbz	w8, LBB0_22
; %bb.14:
	mov	x10, #0
	mov	w9, #0
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x10, x10, #1
	cmp	x10, x8
	b.eq	LBB0_23
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x11, [x19, #16]
	ldr	x11, [x11, x10, lsl #3]
	ldr	w12, [x11, #4]
	cbnz	w12, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w12, [x11]
	cbz	w12, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x13, #0
	ldr	x15, [x11, #8]
	add	x14, x21, w9, sxtw #3
	mov	w16, w9
LBB0_19:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x17, x13, #3
	ldr	x15, [x15, x17]
	str	x15, [x14, x17]
	ldr	x15, [x11, #8]
	ldr	x17, [x15, x17]
	add	w0, w16, w13
	str	w0, [x17]
	add	x13, x13, #1
	cmp	x12, x13
	b.ne	LBB0_19
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	add	w9, w9, w13
	b	LBB0_15
LBB0_21:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_25
LBB0_22:
	mov	w9, #0
LBB0_23:
	cmp	w9, w20
	cset	w0, eq
	bl	_av_assert0
	str	x21, [x19, #8]
	str	w20, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_25:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AVERROR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_graph_config_pointers
.subsections_via_symbols
