	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm_raid_journal_mode_to_md
_dm_raid_journal_mode_to_md:            ## @dm_raid_journal_mode_to_md
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	__raid456_journal_mode@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movslq	%eax, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %rbx
	jb	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rax
	movl	4(%rax,%rbx,8), %esi
	movq	%r15, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	jne	LBB0_1
## %bb.3:
	movq	(%r14), %rax
	movl	(%rax,%rbx,8), %eax
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__raid456_journal_mode,8,3      ## @_raid456_journal_mode
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_dm_raid_journal_mode_to_md
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm_raid_journal_mode_to_md
_dm_raid_journal_mode_to_md:            ; @dm_raid_journal_mode_to_md
	.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
Lloh0:
	adrp	x20, __raid456_journal_mode@GOTPAGE
Lloh1:
	ldr	x20, [x20, __raid456_journal_mode@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x21, x8, #1
	sbfiz	x8, x0, #3, #32
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	sub	x21, x21, #1
	cbz	x21, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	x22, x8, #8
	ldr	x9, [x20]
	add	x8, x9, x8
	ldur	w1, [x8, #-4]
	mov	x0, x19
	bl	_strcasecmp
	mov	x8, x22
	cbnz	w0, LBB0_1
; %bb.3:
	ldr	x8, [x20]
	ldr	w0, [x8, x22]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__raid456_journal_mode,8,3      ; @_raid456_journal_mode
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_dm_raid_journal_mode_to_md
.subsections_via_symbols
