	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function raid0_handle_discard
_raid0_handle_discard:                  ## @raid0_handle_discard
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	24(%rdi), %r14
	movl	(%rsi), %eax
	movl	%eax, -44(%rbp)
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_find_zone
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_bio_end_sector
	movq	(%r15), %rsi
	cmpq	%rsi, %rax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.1:
	movl	(%rbx), %eax
	subq	%rax, %rsi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	16(%r12), %rcx
	movq	%rbx, %rdi
	callq	_bio_split
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_bio_chain
	movq	%rbx, %rdi
	callq	_generic_make_request
	movq	(%r15), %rax
	movq	%r13, %rbx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_bio_end_sector
LBB0_3:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	cmpq	(%r14), %r15
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	subq	-24(%r15), %r14
	jmp	LBB0_6
LBB0_4:
	movq	%rax, %r14
LBB0_6:
	movl	(%r12), %r13d
	imull	8(%r15), %r13d
	movl	-44(%rbp), %ebx
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_sector_div
	movl	%r14d, %edi
	movl	%r13d, %esi
	callq	_sector_div
	movl	-44(%rbp), %eax
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ecx
	imull	%r13d, %ecx
	subl	%ecx, %eax
	movl	(%r12), %esi
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %ecx
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	imull	%r14d, %r13d
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movl	%r14d, %eax
	subl	%r13d, %eax
	xorl	%edx, %edx
	divl	%esi
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	cmpl	$0, 8(%r15)
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_21
## %bb.7:
	movl	%esi, %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	imull	%edi, %edx
	addl	%edx, -64(%rbp)                 ## 4-byte Folded Spill
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	imull	%edx, %esi
	addl	%esi, -60(%rbp)                 ## 4-byte Folded Spill
	leal	1(%rdi), %esi
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	incl	%edx
	movl	%edx, -76(%rbp)                 ## 4-byte Spill
	movl	%eax, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%ecx, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	callq	_generic_make_request
	movq	%r15, %r12
	movq	-112(%rbp), %r15                ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r14
	movl	8(%r15), %eax
	cmpq	%rax, %r14
	jae	LBB0_21
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, -56(%rbp)
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	cmpq	-120(%rbp), %r14                ## 8-byte Folded Reload
	jb	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	jbe	LBB0_11
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	imull	(%r12), %ecx
	movl	%ecx, %eax
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	cmpq	-128(%rbp), %r14                ## 8-byte Folded Reload
	jb	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	jbe	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	imull	(%r12), %ecx
	movl	%ecx, %edx
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	subl	%eax, %edx
	jbe	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rcx
	movq	8(%r13), %rsi
	movq	%r15, %rdi
	subq	%rcx, %rdi
	shrq	$3, %rdi
	movabsq	$-6148914691236517205, %rbx     ## imm = 0xAAAAAAAAAAAAAAAB
	imulq	%rbx, %rdi
	movl	8(%rcx), %ecx
	imulq	%rdi, %rcx
	addq	%r14, %rcx
	movq	(%rsi,%rcx,8), %rbx
	movl	%eax, %esi
	addq	16(%r15), %rsi
	movl	(%rbx), %edi
	addq	8(%rbx), %rsi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r8d, %r8d
	leaq	-56(%rbp), %r9
	callq	___blkdev_issue_discard
	testq	%rax, %rax
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %r15
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_bio_chain
	movq	-56(%rbp), %rdi
	movq	%r12, %rsi
	callq	_bio_clone_blkg_association
	cmpq	$0, 8(%r15)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	(%rbx), %edi
	callq	_bdev_get_queue
	movl	%eax, %ebx
	movq	-56(%rbp), %r13
	movq	8(%r15), %rdi
	callq	_disk_devt
	movl	(%r12), %ecx
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, %edx
	callq	_trace_block_bio_remap
	jmp	LBB0_19
LBB0_21:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_bio_endio
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.no_dead_strip	_raid0_handle_discard
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function raid0_handle_discard
_raid0_handle_discard:                  ; @raid0_handle_discard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x26, x1
	mov	x19, x0
	ldr	x20, [x0, #24]
	ldr	w8, [x1]
	str	w8, [sp, #44]
	add	x1, sp, #44
	mov	x0, x20
	bl	_find_zone
	mov	x22, x0
	mov	x0, x26
	bl	_bio_end_sector
	ldr	x8, [x22]
Lloh0:
	adrp	x27, _GFP_NOIO@GOTPAGE
Lloh1:
	ldr	x27, [x27, _GFP_NOIO@GOTPAGEOFF]
	cmp	x0, x8
	b.le	LBB0_2
; %bb.1:
	ldr	w9, [x26]
	sub	x1, x8, x9
	ldr	w2, [x27]
	add	x3, x19, #16
	mov	x0, x26
	bl	_bio_split
	mov	x24, x0
	mov	x1, x26
	bl	_bio_chain
	mov	x0, x26
	bl	_generic_make_request
	ldr	x23, [x22]
	mov	x26, x24
	b	LBB0_3
LBB0_2:
	mov	x0, x26
	bl	_bio_end_sector
	mov	x23, x0
LBB0_3:
	ldr	x8, [x20]
	cmp	x22, x8
	b.eq	LBB0_5
; %bb.4:
	ldur	x8, [x22, #-24]
	sub	x23, x23, x8
LBB0_5:
	ldr	w8, [x22, #8]
	ldr	w9, [x19]
	mul	w25, w9, w8
	ldr	w24, [sp, #44]
	mov	x0, x24
	mov	x1, x25
	bl	_sector_div
	mov	x0, x23
	mov	x1, x25
	bl	_sector_div
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_19
; %bb.6:
	mov	x28, #0
	ldr	w8, [sp, #44]
	msub	w8, w24, w25, w8
	ldr	w9, [x19]
	udiv	w21, w8, w9
	msub	w8, w21, w9, w8
	madd	w11, w9, w24, w8
	msub	w8, w25, w23, w23
	udiv	w10, w8, w9
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	msub	w8, w10, w9, w8
	madd	w8, w9, w23, w8
	stp	w8, w11, [sp, #8]               ; 8-byte Folded Spill
	add	w9, w24, #1
	add	w8, w23, #1
	stp	w8, w9, [sp, #16]               ; 8-byte Folded Spill
	str	x21, [sp]                       ; 8-byte Folded Spill
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #32]
	bl	_generic_make_request
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x28, x28, #1
	ldr	w8, [x22, #8]
	cmp	x28, x8
	b.hs	LBB0_19
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [sp, #32]
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	cmp	x28, x21
	b.lo	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x9, x24
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	b.ls	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w8, [x19]
	mul	w8, w8, w9
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	cmp	x28, x10
	b.lo	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x9, x23
	ldr	w10, [sp, #8]                   ; 4-byte Folded Reload
	b.ls	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w10, [x19]
	mul	w10, w10, w9
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	subs	w2, w10, w8
	b.ls	LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	ldp	x10, x9, [x20]
	sub	x11, x22, x10
	lsr	x11, x11, #3
	ldr	w10, [x10, #8]
	mul	x10, x11, x10
	mov	x11, #-6148914691236517206
	movk	x11, #43691
	madd	x10, x10, x11, x28
	ldr	x25, [x9, x10, lsl #3]
	ldr	w0, [x25]
	ldr	x9, [x22, #16]
	add	x8, x9, w8, uxtw
	ldr	x9, [x25, #8]
	add	x1, x8, x9
	ldr	w3, [x27]
	add	x5, sp, #32
	mov	w4, #0
	bl	___blkdev_issue_discard
	mov	x8, x0
	ldr	x0, [sp, #32]
	cmp	x8, #0
	ccmp	x0, #0, #4, eq
	b.eq	LBB0_8
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x26
	bl	_bio_chain
	ldr	x0, [sp, #32]
	mov	x1, x26
	bl	_bio_clone_blkg_association
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x25]
	bl	_bdev_get_queue
	mov	x25, x0
	mov	x21, x24
	mov	x24, x23
	mov	x23, x27
	mov	x27, x20
	ldr	x20, [sp, #32]
	ldr	x0, [x19, #8]
	bl	_disk_devt
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x25
	mov	x1, x20
	mov	x20, x27
	mov	x27, x23
	mov	x23, x24
	mov	x24, x21
	ldr	x21, [sp]                       ; 8-byte Folded Reload
	bl	_trace_block_bio_remap
	b	LBB0_7
LBB0_19:
	mov	x0, x26
	bl	_bio_endio
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.no_dead_strip	_raid0_handle_discard
.subsections_via_symbols
