	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_histogram
_parse_histogram:                       ## @parse_histogram
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	$1, (%rsi)
	movl	$1, %edi
	movq	%rbx, %rax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%edi
	movl	%edi, (%rsi)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rax), %ecx
	cmpb	$44, %cl
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%cl, %cl
	jne	LBB0_10
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$8, %esi
	callq	_kmalloc_array
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_15
## %bb.4:
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	leaq	-41(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_sscanf
	testl	%eax, %eax
	je	LBB0_8
## %bb.5:
	xorl	%ecx, %ecx
	leaq	-41(%rbp), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %eax
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$44, -41(%rbp)
	jne	LBB0_8
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %r12
	cmpq	%rcx, %r12
	jbe	LBB0_8
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rcx
	movl	%r15d, %edx
	movq	%r12, (%rcx,%rdx,8)
	cmpl	$1, %eax
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movl	$44, %esi
	callq	_strchr
	movq	%rax, %rbx
	incq	%rbx
	incl	%r15d
	movq	%rbx, %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rcx
	callq	_sscanf
	movq	%r12, %rcx
	testl	%eax, %eax
	jne	LBB0_6
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_16
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_16:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%llu%c"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_parse_histogram
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_histogram
_parse_histogram:                       ; @parse_histogram
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x0
	mov	w0, #1
	str	w0, [x1]
	mov	x8, x20
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w0, w0, #1
	str	w0, [x1]
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8]
	cmp	w9, #44
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cbnz	w9, LBB0_2
; %bb.5:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_kmalloc_array
	str	x0, [x19]
	cbz	x0, LBB0_14
; %bb.6:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	add	x3, sp, #7
	mov	x0, x20
	bl	_sscanf
	cbz	w0, LBB0_13
; %bb.7:
	mov	x8, #0
	mov	w22, #0
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w0, #2
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldrb	w9, [sp, #7]
	cmp	w9, #44
	b.ne	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x23, [sp, #8]
	cmp	x23, x8
	b.ls	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x19]
	str	x23, [x8, w22, uxtw #3]
	cmp	w0, #1
	b.eq	LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	w1, #44
	bl	_strchr
	add	x20, x0, #1
	add	w22, w22, #1
	add	x2, sp, #8
	add	x3, sp, #7
	mov	x0, x20
	mov	x1, x21
	bl	_sscanf
	mov	x8, x23
	cbnz	w0, LBB0_8
LBB0_13:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_17:
	mov	w0, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%llu%c"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_parse_histogram
.subsections_via_symbols
