	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_parse_memsize              ## -- Begin function cfg_parse_memsize
	.p2align	4, 0x90
_cfg_parse_memsize:                     ## @cfg_parse_memsize
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	movq	%r15, %rdi
	callq	_strlen
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_isalldigit
	testq	%rax, %rax
	je	LBB0_5
## %bb.27:
	movq	%r15, %rdi
	callq	_atol
LBB0_25:
	movq	%rax, (%r14)
	movl	$1, %eax
	jmp	LBB0_26
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	movq	%r15, %rsi
	callq	_log_err
	xorl	%eax, %eax
LBB0_26:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	decq	%rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$-1, %rbx
	je	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	(%r15,%rbx), %ecx
	decq	%rbx
	cmpb	$32, %cl
	je	LBB0_6
## %bb.8:
	leaq	2(%rbx), %rdx
	movl	$1, %r12d
	cmpq	$2, %rdx
	jb	LBB0_16
## %bb.9:
	leaq	1(%rbx), %rsi
	movl	%ecx, %eax
	orb	$32, %al
	cmpb	$98, %al
	jne	LBB0_10
## %bb.11:
	cmpq	$2, %rsi
	jb	LBB0_16
## %bb.12:
	movb	(%r15,%rbx), %cl
	movq	%rsi, %r12
	jmp	LBB0_13
LBB0_10:
	movq	%rsi, %rbx
	movq	%rdx, %r12
LBB0_13:
	movzbl	%cl, %edi
	callq	_tolower
	movl	$1073741824, %r13d              ## imm = 0x40000000
	cmpb	$103, %al
	je	LBB0_19
## %bb.14:
	movzbl	(%r15,%rbx), %edi
	callq	_tolower
	movl	$1048576, %r13d                 ## imm = 0x100000
	cmpb	$109, %al
	je	LBB0_19
## %bb.15:
	movzbl	(%r15,%rbx), %edi
	callq	_tolower
	movl	$1024, %r13d                    ## imm = 0x400
	cmpb	$107, %al
	je	LBB0_19
LBB0_16:
	movzbl	-1(%r12,%r15), %edi
	callq	_isdigit
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movl	$1, %r13d
	movl	$1, %esi
	cmpq	$2, %r12
	jb	LBB0_23
LBB0_19:
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	cmpb	$32, -2(%r15,%rsi)
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=1
	decq	%rsi
	cmpq	$1, %rsi
	ja	LBB0_20
## %bb.22:
	movl	$1, %esi
LBB0_23:
	decq	%rsi
	movq	%r15, %rdi
	callq	_isalldigit
	testq	%rax, %rax
	je	LBB0_17
## %bb.24:
	movq	%r15, %rdi
	callq	_atol
	imulq	%r13, %rax
	jmp	LBB0_25
LBB0_17:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"not a size: '%s'"

L_.str.1:                               ## @.str.1
	.asciz	"unknown size specifier: '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg_parse_memsize              ; -- Begin function cfg_parse_memsize
	.p2align	2
_cfg_parse_memsize:                     ; @cfg_parse_memsize
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x0, x19
	bl	_strlen
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_isalldigit
	cbz	x0, LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_atol
	str	x0, [x20]
LBB0_4:
	mov	w0, #1
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	mov	x1, x19
	bl	_log_err
	mov	w0, #0
LBB0_7:
	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_8:
	sub	x22, x21, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	cmn	x22, #1
	b.eq	LBB0_31
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w0, [x19, x22]
	sub	x22, x22, #1
	cmp	w0, #32
	b.eq	LBB0_9
; %bb.11:
	add	x8, x22, #2
	cmp	x8, #2
	b.lo	LBB0_15
; %bb.12:
	add	x21, x22, #1
	orr	w9, w0, #0x20
	cmp	w9, #98
	b.ne	LBB0_18
; %bb.13:
	cmp	x21, #2
	b.lo	LBB0_15
; %bb.14:
	ldrb	w0, [x19, x22]
	b	LBB0_19
LBB0_15:
	mov	w21, #1
LBB0_16:
	add	x8, x21, x19
	ldurb	w0, [x8, #-1]
	bl	_isdigit
	cbz	x0, LBB0_31
; %bb.17:
	mov	w22, #1
	mov	w8, #1
	cmp	x21, #2
	b.hs	LBB0_25
	b	LBB0_29
LBB0_18:
	mov	x22, x21
	mov	x21, x8
LBB0_19:
	bl	_tolower
	cmp	w0, #103
	b.ne	LBB0_21
; %bb.20:
	mov	w22, #1073741824
	b	LBB0_25
LBB0_21:
	ldrb	w0, [x19, x22]
	bl	_tolower
	cmp	w0, #109
	b.ne	LBB0_23
; %bb.22:
	mov	w22, #1048576
	b	LBB0_25
LBB0_23:
	ldrb	w0, [x19, x22]
	bl	_tolower
	cmp	w0, #107
	b.ne	LBB0_16
; %bb.24:
	mov	w22, #1024
LBB0_25:
	sub	x9, x19, #2
	mov	x8, x21
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9, x8]
	cmp	w10, #32
	b.ne	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	sub	x8, x8, #1
	cmp	x8, #1
	b.hi	LBB0_26
; %bb.28:
	mov	w8, #1
LBB0_29:
	sub	x1, x8, #1
	mov	x0, x19
	bl	_isalldigit
	cbz	x0, LBB0_31
; %bb.30:
	mov	x0, x19
	bl	_atol
	mul	x8, x0, x22
	str	x8, [x20]
	b	LBB0_4
LBB0_31:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"not a size: '%s'"

l_.str.1:                               ; @.str.1
	.asciz	"unknown size specifier: '%s'"

.subsections_via_symbols
