	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_features
_parse_features:                        ## @parse_features
	.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
	cmpl	$0, (%rdi)
	je	LBB0_15
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r13
	leaq	_parse_features._args(%rip), %rdi
	leaq	-44(%rbp), %rdx
	movq	%r13, %rsi
	movq	%r15, %rcx
	callq	_dm_read_arg_group
	testl	%eax, %eax
	jne	LBB0_23
## %bb.2:
	leaq	20(%r14), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	16(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	12(%r14), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	8(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	$0, -44(%rbp)
	je	LBB0_16
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	callq	_dm_shift_arg
	movq	%rax, %r12
	movl	-44(%rbp), %ebx
	decl	%ebx
	movl	%ebx, -44(%rbp)
	movq	%rax, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r12, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_19
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	testl	%ebx, %ebx
	je	LBB0_20
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	_parse_features._args+16(%rip), %rdi
	movq	%r13, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_dm_read_arg
	testl	%eax, %eax
	jne	LBB0_23
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=2
	decl	-44(%rbp)
	movq	%r13, %rdi
	callq	_dm_shift_arg
	movq	%rax, %rbx
	movq	%rax, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcasecmp
	movq	_WRITE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%rbx, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcasecmp
	movq	_READ@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_21
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	(%rcx), %rax
	movq	%rax, (%r14)
	decl	-44(%rbp)
	leaq	_parse_features._args+32(%rip), %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_dm_read_arg
	testl	%eax, %eax
	jne	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=2
	decl	-44(%rbp)
	leaq	_parse_features._args+48(%rip), %rdi
	movq	%r13, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_dm_read_arg
	testl	%eax, %eax
	jne	LBB0_23
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=2
	decl	-44(%rbp)
	jne	LBB0_4
	jmp	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_DROP_WRITES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.14:
	leaq	L_.str.5(%rip), %rax
	jmp	LBB0_22
LBB0_16:
	movq	_DROP_WRITES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:
	movq	(%r14), %rcx
	movq	_WRITE@GOTPCREL(%rip), %rdx
	movl	$0, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_23
## %bb.18:
	leaq	L_.str.12(%rip), %rax
	jmp	LBB0_22
LBB0_15:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_19:
	leaq	L_.str.11(%rip), %rax
	jmp	LBB0_22
LBB0_20:
	leaq	L_.str.7(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	leaq	L_.str.10(%rip), %rax
LBB0_22:
	movq	%rax, (%r15)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_23:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @parse_features._args
_parse_features._args:
	.long	0                               ## 0x0
	.long	6                               ## 0x6
	.quad	L_.str
	.long	1                               ## 0x1
	.long	128                             ## 0x80
	.quad	L_.str.1
	.long	0                               ## 0x0
	.long	255                             ## 0xff
	.quad	L_.str.2
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.quad	L_.str.3

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid number of feature args"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid corrupt bio byte"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid corrupt value to write into bio byte (0-255)"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid corrupt bio flags mask"

L_.str.4:                               ## @.str.4
	.asciz	"drop_writes"

	.comm	_DROP_WRITES,4,2                ## @DROP_WRITES
L_.str.5:                               ## @.str.5
	.asciz	"Feature drop_writes duplicated"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.6:                               ## @.str.6
	.asciz	"corrupt_bio_byte"

L_.str.7:                               ## @.str.7
	.asciz	"Feature corrupt_bio_byte requires parameters"

L_.str.8:                               ## @.str.8
	.asciz	"w"

	.comm	_WRITE,8,3                      ## @WRITE
L_.str.9:                               ## @.str.9
	.asciz	"r"

	.comm	_READ,8,3                       ## @READ
L_.str.10:                              ## @.str.10
	.asciz	"Invalid corrupt bio direction (r or w)"

L_.str.11:                              ## @.str.11
	.asciz	"Unrecognised flakey feature requested"

L_.str.12:                              ## @.str.12
	.asciz	"drop_writes is incompatible with corrupt_bio_byte with the WRITE flag set"

	.no_dead_strip	_parse_features
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_features
_parse_features:                        ; @parse_features
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cbz	w8, LBB0_19
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, _parse_features._args@PAGE
Lloh1:
	add	x0, x0, _parse_features._args@PAGEOFF
	add	x2, sp, #12
	mov	x1, x21
	mov	x3, x19
	bl	_dm_read_arg_group
	cbnz	w0, LBB0_24
; %bb.2:
	add	x22, x20, #20
	add	x24, x20, #16
	add	x25, x20, #12
	add	x8, x20, #8
	str	x8, [sp]                        ; 8-byte Folded Spill
Lloh2:
	adrp	x26, l_.str.4@PAGE
Lloh3:
	add	x26, x26, l_.str.4@PAGEOFF
Lloh4:
	adrp	x27, l_.str.6@PAGE
Lloh5:
	add	x27, x27, l_.str.6@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_16
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_dm_shift_arg
	mov	x23, x0
	ldr	w8, [sp, #12]
	sub	w28, w8, #1
	str	w28, [sp, #12]
	mov	x1, x26
	bl	_strcasecmp
	cbz	w0, LBB0_14
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x23
	mov	x1, x27
	bl	_strcasecmp
	cbnz	w0, LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	cbz	w28, LBB0_21
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
Lloh6:
	adrp	x0, _parse_features._args@PAGE+16
Lloh7:
	add	x0, x0, _parse_features._args@PAGEOFF+16
	mov	x1, x21
	mov	x2, x22
	mov	x3, x19
	bl	_dm_read_arg
	cbnz	w0, LBB0_24
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [sp, #12]
	sub	w8, w8, #1
	str	w8, [sp, #12]
	mov	x0, x21
	bl	_dm_shift_arg
	mov	x23, x0
Lloh8:
	adrp	x1, l_.str.8@PAGE
Lloh9:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcasecmp
	cbz	w0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x0, x23
Lloh10:
	adrp	x1, l_.str.9@PAGE
Lloh11:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcasecmp
Lloh12:
	adrp	x8, _READ@GOTPAGE
Lloh13:
	ldr	x8, [x8, _READ@GOTPAGEOFF]
	cbz	w0, LBB0_11
	b	LBB0_22
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=2
Lloh14:
	adrp	x8, _WRITE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	w8, [sp, #12]
	sub	w8, w8, #1
	str	w8, [sp, #12]
Lloh16:
	adrp	x0, _parse_features._args@PAGE+32
Lloh17:
	add	x0, x0, _parse_features._args@PAGEOFF+32
	mov	x1, x21
	mov	x2, x24
	mov	x3, x19
	bl	_dm_read_arg
	cbnz	w0, LBB0_24
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [sp, #12]
	sub	w8, w8, #1
	str	w8, [sp, #12]
Lloh18:
	adrp	x0, _parse_features._args@PAGE+48
Lloh19:
	add	x0, x0, _parse_features._args@PAGEOFF+48
	mov	x1, x21
	mov	x2, x25
	mov	x3, x19
	bl	_dm_read_arg
	cbnz	w0, LBB0_24
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [sp, #12]
	subs	w8, w8, #1
	str	w8, [sp, #12]
	b.ne	LBB0_4
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh20:
	adrp	x8, _DROP_WRITES@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DROP_WRITES@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_test_and_set_bit
	cbz	x0, LBB0_3
; %bb.15:
Lloh23:
	adrp	x8, l_.str.5@PAGE
Lloh24:
	add	x8, x8, l_.str.5@PAGEOFF
	b	LBB0_23
LBB0_16:
Lloh25:
	adrp	x8, _DROP_WRITES@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DROP_WRITES@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	x1, [sp]                        ; 8-byte Folded Reload
	bl	_test_bit
	cbz	x0, LBB0_24
; %bb.17:
	ldr	x8, [x20]
Lloh28:
	adrp	x9, _WRITE@GOTPAGE
Lloh29:
	ldr	x9, [x9, _WRITE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.18:
Lloh31:
	adrp	x8, l_.str.12@PAGE
Lloh32:
	add	x8, x8, l_.str.12@PAGEOFF
	b	LBB0_23
LBB0_19:
	mov	w0, #0
	b	LBB0_24
LBB0_20:
Lloh33:
	adrp	x8, l_.str.11@PAGE
Lloh34:
	add	x8, x8, l_.str.11@PAGEOFF
	b	LBB0_23
LBB0_21:
Lloh35:
	adrp	x8, l_.str.7@PAGE
Lloh36:
	add	x8, x8, l_.str.7@PAGEOFF
	b	LBB0_23
LBB0_22:
Lloh37:
	adrp	x8, l_.str.10@PAGE
Lloh38:
	add	x8, x8, l_.str.10@PAGEOFF
LBB0_23:
	str	x8, [x19]
Lloh39:
	adrp	x8, _EINVAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_24:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @parse_features._args
_parse_features._args:
	.long	0                               ; 0x0
	.long	6                               ; 0x6
	.quad	l_.str
	.long	1                               ; 0x1
	.long	128                             ; 0x80
	.quad	l_.str.1
	.long	0                               ; 0x0
	.long	255                             ; 0xff
	.quad	l_.str.2
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.quad	l_.str.3

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid number of feature args"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid corrupt bio byte"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid corrupt value to write into bio byte (0-255)"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid corrupt bio flags mask"

l_.str.4:                               ; @.str.4
	.asciz	"drop_writes"

	.comm	_DROP_WRITES,4,2                ; @DROP_WRITES
l_.str.5:                               ; @.str.5
	.asciz	"Feature drop_writes duplicated"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.6:                               ; @.str.6
	.asciz	"corrupt_bio_byte"

l_.str.7:                               ; @.str.7
	.asciz	"Feature corrupt_bio_byte requires parameters"

l_.str.8:                               ; @.str.8
	.asciz	"w"

	.comm	_WRITE,8,3                      ; @WRITE
l_.str.9:                               ; @.str.9
	.asciz	"r"

	.comm	_READ,8,3                       ; @READ
l_.str.10:                              ; @.str.10
	.asciz	"Invalid corrupt bio direction (r or w)"

l_.str.11:                              ; @.str.11
	.asciz	"Unrecognised flakey feature requested"

l_.str.12:                              ; @.str.12
	.asciz	"drop_writes is incompatible with corrupt_bio_byte with the WRITE flag set"

	.no_dead_strip	_parse_features
.subsections_via_symbols
