	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_path
_parse_path:                            ## @parse_path
	.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, %r13
	movq	16(%rdx), %rax
	movq	$0, -48(%rbp)
	cmpl	$0, (%rdi)
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_alloc_pgpath
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r14
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_dm_shift_arg
	movl	%eax, %ebx
	movl	8(%r13), %edi
	callq	_dm_table_get_mode
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r14, %rcx
	callq	_dm_get_device
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r13)
	jmp	LBB0_13
LBB0_1:
	leaq	L_.str(%rip), %rax
	movq	%rax, (%r13)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_4
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %edi
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_7:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_bdev_get_queue
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_scsi_dh_attached_handler_name
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_9
## %bb.8:
	cmpq	$0, (%rbx)
	je	LBB0_10
LBB0_9:
	movq	%r14, %rdi
	addq	$8, %rdi
	movq	_activate_path_work@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rsi
	movq	%r13, %rcx
	callq	_setup_scsi_dh
	movl	%eax, %r15d
	movq	-48(%rbp), %rdi
	callq	_kfree
	testl	%r15d, %r15d
	jne	LBB0_12
LBB0_10:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movl	(%r12), %edx
	movl	4(%r12), %ecx
	movq	%r14, %rsi
	movq	%r13, %r8
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_14
## %bb.11:
	movl	%eax, %r15d
LBB0_12:
	movq	(%r14), %rsi
	movq	%r13, %rdi
	callq	_dm_put_device
LBB0_13:
	movq	%r14, %rdi
	callq	_free_pgpath
	movl	%r15d, %edi
	callq	_ERR_PTR
	movq	%rax, %r14
LBB0_14:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no device given"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"error getting device"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_activate_path_work,4,2         ## @activate_path_work
	.no_dead_strip	_parse_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_path
_parse_path:                            ; @parse_path
	.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	x20, x2
	ldr	x23, [x2, #16]
	str	xzr, [sp, #8]
	ldr	w8, [x0]
	cmp	w8, #0
	b.le	LBB0_4
; %bb.1:
	mov	x21, x1
	mov	x22, x0
	bl	_alloc_pgpath
	cbz	x0, LBB0_5
; %bb.2:
	mov	x19, x0
	mov	x0, x22
	bl	_dm_shift_arg
	mov	x24, x0
	ldr	w0, [x20, #8]
	bl	_dm_table_get_mode
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	mov	x3, x19
	bl	_dm_get_device
	cbz	w0, LBB0_7
; %bb.3:
	mov	x24, x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [x20]
	b	LBB0_13
LBB0_4:
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
	str	x8, [x20]
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
LBB0_7:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_bdev_get_queue
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_scsi_dh_attached_handler_name
	str	x0, [sp, #8]
	cbnz	x0, LBB0_9
; %bb.8:
	ldr	x8, [x23]
	cbz	x8, LBB0_10
LBB0_9:
	add	x0, x19, #8
Lloh11:
	adrp	x8, _activate_path_work@GOTPAGE
Lloh12:
	ldr	x8, [x8, _activate_path_work@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	ldr	x8, [x19]
	ldr	w0, [x8]
	add	x2, sp, #8
	mov	x1, x23
	mov	x3, x20
	bl	_setup_scsi_dh
	mov	x24, x0
	ldr	x0, [sp, #8]
	bl	_kfree
	cbnz	w24, LBB0_12
LBB0_10:
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldp	w2, w3, [x22]
	mov	x0, x21
	mov	x1, x19
	mov	x4, x20
	blr	x8
	cbz	w0, LBB0_14
; %bb.11:
	mov	x24, x0
LBB0_12:
	ldr	x1, [x19]
	mov	x0, x20
	bl	_dm_put_device
LBB0_13:
	mov	x0, x19
	bl	_free_pgpath
	mov	x0, x24
	bl	_ERR_PTR
	mov	x19, x0
LBB0_14:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no device given"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"error getting device"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_activate_path_work,4,2         ; @activate_path_work
	.no_dead_strip	_parse_path
.subsections_via_symbols
