	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_fetch_policy
_read_fetch_policy:                     ## @read_fetch_policy
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_cfg_count_numbers
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	decl	%eax
	movl	%eax, (%rbx)
	incq	%rax
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_fetch_fill
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_log_err
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_log_err
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot parse target fetch policy: \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"alloc fetch policy: out of memory"

	.no_dead_strip	_read_fetch_policy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_fetch_policy
_read_fetch_policy:                     ; @read_fetch_policy
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_cfg_count_numbers
	cmp	w0, #0
	b.le	LBB0_3
; %bb.1:
	sub	w8, w0, #1
	str	w8, [x20]
	add	x0, x8, #1
	mov	w1, #4
	bl	_calloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_fetch_fill
	mov	w0, #1
	b	LBB0_6
LBB0_3:
	str	x19, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	_log_err
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot parse target fetch policy: \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"alloc fetch policy: out of memory"

	.no_dead_strip	_read_fetch_policy
.subsections_via_symbols
