	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function multipath_ioctl
_multipath_ioctl:                       ## @multipath_ioctl
	.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
	movq	%rdx, %r12
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	24(%r13), %rax
	testq	%rax, %rax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	___choose_pgpath
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rbx
	cmpq	$0, 16(%r13)
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_11
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.12:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	jmp	LBB0_13
LBB0_6:
	cmpq	$0, 8(%r13)
	je	LBB0_7
## %bb.10:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
LBB0_8:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%ecx, %ecx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
LBB0_4:
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.20:
	negl	%r12d
	jmp	LBB0_15
LBB0_5:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_13:
	movq	(%r14), %r14
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %edi
	callq	_i_size_read
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarq	%cl, %rax
	xorl	%r12d, %r12d
	cmpq	%rax, %r14
	je	LBB0_15
## %bb.14:
	xorl	%edi, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_scsi_verify_blk_ioctl
	movl	%eax, %r12d
LBB0_15:
	movq	_ENOTCONN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%r12d, %eax
	jne	LBB0_18
## %bb.16:
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fatal_signal_pending
	testl	%eax, %eax
	je	LBB0_17
LBB0_18:
	testl	%r12d, %r12d
	je	LBB0_21
LBB0_19:
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_kmultipathd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_queue_work
	testl	%r12d, %r12d
	jne	LBB0_19
LBB0_21:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___blkdev_driver_ioctl          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTCONN,4,2                   ## @ENOTCONN
	.comm	_EIO,4,2                        ## @EIO
	.comm	_SECTOR_SHIFT,4,2               ## @SECTOR_SHIFT
	.comm	_current,4,2                    ## @current
	.comm	_kmultipathd,4,2                ## @kmultipathd
	.no_dead_strip	_multipath_ioctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function multipath_ioctl
_multipath_ioctl:                       ; @multipath_ioctl
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x24, x0
	ldr	x21, [x0, #8]
	add	x25, x21, #4
	mov	x0, x25
	bl	_spin_lock_irqsave
	ldr	x8, [x21, #24]
Lloh0:
	adrp	x26, _ENOTCONN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _ENOTCONN@GOTPAGEOFF]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	w1, #0
	bl	___choose_pgpath
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_6
LBB0_2:
	ldr	x8, [x8]
	ldp	x22, x23, [x8]
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _ENOTCONN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTCONN@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	cbz	x23, LBB0_9
; %bb.5:
	mov	x0, x25
	bl	_spin_unlock_irqrestore
	b	LBB0_12
LBB0_6:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_3
LBB0_8:
	mov	x22, #0
LBB0_9:
	mov	x23, #0
Lloh4:
	adrp	x8, _EIO@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_10:
	ldr	w27, [x8]
	mov	x0, x25
	bl	_spin_unlock_irqrestore
	cbz	w27, LBB0_12
; %bb.11:
	neg	w24, w27
	b	LBB0_15
LBB0_12:
	ldr	x24, [x24]
	ldr	w0, [x23]
	bl	_i_size_read
Lloh6:
	adrp	x8, _SECTOR_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	asr	x8, x0, x8
	cmp	x24, x8
	b.ne	LBB0_14
; %bb.13:
	mov	w24, #0
	b	LBB0_15
LBB0_14:
	mov	x0, #0
	mov	x1, x20
	bl	_scsi_verify_blk_ioctl
	mov	x24, x0
LBB0_15:
	ldr	w8, [x26]
	cmn	w24, w8
	b.ne	LBB0_17
; %bb.16:
Lloh9:
	adrp	x8, _current@GOTPAGE
Lloh10:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_fatal_signal_pending
	cbz	w0, LBB0_19
LBB0_17:
	cbz	w24, LBB0_20
LBB0_18:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh12:
	adrp	x8, _kmultipathd@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kmultipathd@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_queue_work
	cbnz	w24, LBB0_18
LBB0_20:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	___blkdev_driver_ioctl
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTCONN,4,2                   ; @ENOTCONN
	.comm	_EIO,4,2                        ; @EIO
	.comm	_SECTOR_SHIFT,4,2               ; @SECTOR_SHIFT
	.comm	_current,4,2                    ; @current
	.comm	_kmultipathd,4,2                ; @kmultipathd
	.no_dead_strip	_multipath_ioctl
.subsections_via_symbols
