	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blkio_policy_parse_and_set
_blkio_policy_parse_and_set:            ## @blkio_policy_parse_and_set
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%edx, -108(%rbp)                ## 4-byte Spill
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdi, -104(%rbp)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	leaq	L_.str(%rip), %r15
	leaq	-104(%rbp), %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_26
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%rax, -80(%rbp)
	leaq	L_.str(%rip), %r15
	leaq	-104(%rbp), %rbx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_26
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_4
## %bb.6:
	movq	%rax, -72(%rbp)
	leaq	L_.str(%rip), %r14
	leaq	-104(%rbp), %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_7
## %bb.9:
	movq	%rax, -64(%rbp)
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	leaq	-80(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	-80(%rbp), %r14
	testq	%r14, %r14
	je	LBB0_14
## %bb.12:
	leaq	-128(%rbp), %rdx
	movq	%rax, %rdi
	movl	$10, %esi
	callq	_strict_strtoul
	testl	%eax, %eax
	jne	LBB0_14
## %bb.16:
	leaq	-120(%rbp), %rdx
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_strict_strtoul
	testl	%eax, %eax
	je	LBB0_18
LBB0_14:
	xorl	%r14d, %r14d
LBB0_26:
	movq	%r14, %rdi
	callq	_put_disk
LBB0_27:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_42
## %bb.28:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	-128(%rbp), %rdi
	movq	-120(%rbp), %rsi
	callq	_MKDEV
	movl	%eax, %ebx
	leaq	-112(%rbp), %rsi
	movl	%eax, %edi
	callq	_get_gendisk
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_25
## %bb.19:
	cmpl	$0, -112(%rbp)
	jne	LBB0_25
## %bb.20:
	movl	%ebx, 32(%r13)
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.21:
	movl	-108(%rbp), %eax                ## 4-byte Reload
	cmpl	$132, %eax
	je	LBB0_30
## %bb.22:
	cmpl	$133, %eax
	jne	LBB0_35
## %bb.23:
	leaq	-88(%rbp), %rdx
	movl	$10, %esi
	callq	_strict_strtoul
	testl	%eax, %eax
	je	LBB0_38
## %bb.24:
	movl	%eax, %r12d
	jmp	LBB0_26
LBB0_25:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_26
LBB0_29:
	xorl	%r12d, %r12d
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_27
LBB0_30:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_41
## %bb.31:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_32:
	leaq	-88(%rbp), %rdx
	movl	$10, %esi
	callq	_strict_strtoull
	testl	%eax, %eax
	jne	LBB0_26
## %bb.33:
	movq	-88(%rbp), %rax
	movq	_THROTL_IOPS_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_26
## %bb.34:
	movl	$132, (%r13)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%r13)
	movl	%eax, 16(%r13)
	xorl	%r12d, %r12d
	jmp	LBB0_26
LBB0_35:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_26
LBB0_36:
	leaq	-88(%rbp), %rdx
	movl	$10, %esi
	callq	_strict_strtoull
	testl	%eax, %eax
	jne	LBB0_26
## %bb.37:
	movl	$132, (%r13)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 4(%r13)
	movq	-88(%rbp), %rax
	movq	%rax, 24(%r13)
	xorl	%r12d, %r12d
	jmp	LBB0_26
LBB0_38:
	movq	-88(%rbp), %rax
	movq	_BLKIO_WEIGHT_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setb	%cl
	testq	%rax, %rax
	setne	%dl
	xorl	%r12d, %r12d
	testb	%cl, %dl
	jne	LBB0_26
## %bb.39:
	movq	_BLKIO_WEIGHT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	ja	LBB0_26
## %bb.40:
	movl	$133, (%r13)
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%ecx, 4(%r13)
	movq	%rax, 8(%r13)
	jmp	LBB0_26
LBB0_41:
	xorl	%r12d, %r12d
	jmp	LBB0_26
LBB0_42:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
LJTI0_0:
	.long	L0_0_set_32
	.long	L0_0_set_36
	.long	L0_0_set_32
	.long	L0_0_set_36
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

L_.str.1:                               ## @.str.1
	.asciz	":"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_BLKIO_WEIGHT_MIN,8,3           ## @BLKIO_WEIGHT_MIN
	.comm	_BLKIO_WEIGHT_MAX,8,3           ## @BLKIO_WEIGHT_MAX
	.comm	_THROTL_IOPS_MAX,8,3            ## @THROTL_IOPS_MAX
	.no_dead_strip	_blkio_policy_parse_and_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blkio_policy_parse_and_set
_blkio_policy_parse_and_set:            ; @blkio_policy_parse_and_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	str	x0, [sp, #32]
Lloh3:
	adrp	x25, _EINVAL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _EINVAL@GOTPAGEOFF]
	ldr	w8, [x25]
	neg	w19, w8
	add	x0, sp, #40
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh5:
	adrp	x22, l_.str@PAGE
Lloh6:
	add	x22, x22, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #32
	mov	x1, x22
	bl	_strsep
	cbz	x0, LBB0_14
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_1
; %bb.3:
	str	x0, [sp, #40]
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #32
	mov	x1, x22
	bl	_strsep
	cbz	x0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_4
; %bb.6:
	str	x0, [sp, #48]
Lloh9:
	adrp	x22, l_.str@PAGE
Lloh10:
	add	x22, x22, l_.str@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #32
	mov	x1, x22
	bl	_strsep
	cbz	x0, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x0]
	cbz	w8, LBB0_7
; %bb.9:
	mov	x22, #0
	str	x0, [sp, #56]
	b	LBB0_15
LBB0_10:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #40
	bl	_strsep
	cbz	x0, LBB0_14
; %bb.11:
	ldr	x22, [sp, #40]
	cbz	x22, LBB0_15
; %bb.12:
	add	x2, sp, #24
	mov	w1, #10
	bl	_strict_strtoul
	cbnz	w0, LBB0_14
; %bb.13:
	add	x2, sp, #16
	mov	x0, x22
	mov	w1, #10
	bl	_strict_strtoul
	cbz	w0, LBB0_18
LBB0_14:
	mov	x22, #0
LBB0_15:
	mov	x0, x22
	bl	_put_disk
LBB0_16:
	ldr	x8, [sp, #72]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.17:
	mov	x0, x19
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_18:
	ldp	x1, x0, [sp, #16]
	bl	_MKDEV
	mov	x24, x0
	add	x1, sp, #4
	bl	_get_gendisk
	mov	x22, x0
	cbz	x0, LBB0_27
; %bb.19:
	ldr	w8, [sp, #4]
	cbnz	w8, LBB0_27
; %bb.20:
	str	w24, [x20, #32]
	ldr	x0, [sp, #48]
	cbz	x0, LBB0_28
; %bb.21:
	cmp	w23, #132
	b.eq	LBB0_29
; %bb.22:
	cmp	w23, #133
	b.ne	LBB0_34
; %bb.23:
	add	x2, sp, #8
	mov	w1, #10
	bl	_strict_strtoul
	mov	x19, x0
	cbnz	w0, LBB0_15
; %bb.24:
	ldr	x8, [sp, #8]
Lloh16:
	adrp	x9, _BLKIO_WEIGHT_MIN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BLKIO_WEIGHT_MIN@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	ccmp	x8, #0, #4, lo
	b.ne	LBB0_15
; %bb.25:
Lloh19:
	adrp	x9, _BLKIO_WEIGHT_MAX@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BLKIO_WEIGHT_MAX@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hi	LBB0_15
; %bb.26:
	mov	w19, #0
	mov	w9, #133
	stp	w9, w21, [x20]
	str	x8, [x20, #8]
	b	LBB0_15
LBB0_27:
Lloh22:
	adrp	x8, _ENODEV@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_15
LBB0_28:
	ldr	w8, [x25]
	neg	w19, w8
	b	LBB0_16
LBB0_29:
	sub	w8, w21, #128
	cmp	w8, #3
	b.hi	LBB0_35
; %bb.30:
Lloh25:
	adrp	x9, lJTI0_0@PAGE
Lloh26:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_31
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_31:
	add	x2, sp, #8
	mov	w1, #10
	bl	_strict_strtoull
	cbnz	w0, LBB0_15
; %bb.32:
	ldr	x8, [sp, #8]
Lloh27:
	adrp	x9, _THROTL_IOPS_MAX@GOTPAGE
Lloh28:
	ldr	x9, [x9, _THROTL_IOPS_MAX@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_15
; %bb.33:
	mov	w19, #0
	mov	w9, #132
	stp	w9, w21, [x20]
	str	w8, [x20, #16]
	b	LBB0_15
LBB0_34:
	bl	_BUG
LBB0_35:
	mov	w19, #0
	b	LBB0_15
LBB0_36:
	add	x2, sp, #8
	mov	w1, #10
	bl	_strict_strtoull
	cbnz	w0, LBB0_15
; %bb.37:
	mov	w19, #0
	mov	w8, #132
	stp	w8, w21, [x20]
	ldr	x8, [sp, #8]
	str	x8, [x20, #24]
	b	LBB0_15
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_31-LBB0_31)>>2
	.byte	(LBB0_36-LBB0_31)>>2
	.byte	(LBB0_31-LBB0_31)>>2
	.byte	(LBB0_36-LBB0_31)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

l_.str.1:                               ; @.str.1
	.asciz	":"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_BLKIO_WEIGHT_MIN,8,3           ; @BLKIO_WEIGHT_MIN
	.comm	_BLKIO_WEIGHT_MAX,8,3           ; @BLKIO_WEIGHT_MAX
	.comm	_THROTL_IOPS_MAX,8,3            ; @THROTL_IOPS_MAX
	.no_dead_strip	_blkio_policy_parse_and_set
.subsections_via_symbols
