	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_raid_locking_parms
_get_raid_locking_parms:                ## @get_raid_locking_parms
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	(%rsi), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_strnicmp
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	movl	$0, (%r12)
	movq	_locking_none@GOTPCREL(%rip), %rax
	movq	%rax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_1:
	movq	8(%r14), %r14
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	callq	_strnicmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_strnicmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.3(%rip), %rdi
LBB0_4:
	movq	%r14, %rsi
	callq	_DMERR
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"locking"

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

	.comm	_locking_none,4,2               ## @locking_none
L_.str.2:                               ## @.str.2
	.asciz	"cluster"

L_.str.3:                               ## @.str.3
	.asciz	"locking type \"%s\" not yet implemented"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.4:                               ## @.str.4
	.asciz	"unknown locking type \"%s\""

	.no_dead_strip	_get_raid_locking_parms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_raid_locking_parms
_get_raid_locking_parms:                ; @get_raid_locking_parms
	.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, x3
	mov	x21, x2
	mov	x20, x1
	ldr	x22, [x1]
	mov	x0, x22
	bl	_strlen
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_strnicmp
	cbz	w0, LBB0_2
LBB0_1:
	mov	w0, #0
	str	wzr, [x21]
Lloh2:
	adrp	x8, _locking_none@GOTPAGE
Lloh3:
	ldr	x8, [x8, _locking_none@GOTPAGEOFF]
	str	x8, [x19]
	b	LBB0_7
LBB0_2:
	ldr	x20, [x20, #8]
	mov	x0, x20
	bl	_strlen
	mov	x22, x0
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strnicmp
	cbz	w0, LBB0_1
; %bb.3:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x2, x22
	bl	_strnicmp
	cbz	w0, LBB0_5
; %bb.4:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_6:
	mov	x1, x20
	bl	_DMERR
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"locking"

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

	.comm	_locking_none,4,2               ; @locking_none
l_.str.2:                               ; @.str.2
	.asciz	"cluster"

l_.str.3:                               ; @.str.3
	.asciz	"locking type \"%s\" not yet implemented"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.4:                               ; @.str.4
	.asciz	"unknown locking type \"%s\""

	.no_dead_strip	_get_raid_locking_parms
.subsections_via_symbols
