	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvmet_bdev_discard_range
_nvmet_bdev_discard_range:              ## @nvmet_bdev_discard_range
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r14
	movl	4(%r14), %r12d
	movl	(%rsi), %edi
	callq	_le64_to_cpu
	movl	%eax, %ebx
	movb	(%r14), %cl
	addb	$-9, %cl
	shll	%cl, %ebx
	movl	4(%r13), %edi
	callq	_le32_to_cpu
	movb	(%r14), %cl
	addb	$-9, %cl
	shll	%cl, %eax
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	movq	%r15, %r9
	callq	___blkdev_issue_discard
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %ebx
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_3
LBB0_2:
	movq	_NVME_SC_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movl	(%r13), %edi
	callq	_le64_to_cpu
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, (%rdi)
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_errno_to_nvme_status           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_NVME_SC_SUCCESS,4,2            ## @NVME_SC_SUCCESS
	.no_dead_strip	_nvmet_bdev_discard_range
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvmet_bdev_discard_range
_nvmet_bdev_discard_range:              ; @nvmet_bdev_discard_range
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x24, [x0, #8]
	ldr	w22, [x24, #4]
	ldr	w0, [x1]
	bl	_le64_to_cpu
	ldr	w8, [x24]
	sub	w8, w8, #9
	lsl	w23, w0, w8
	ldr	w0, [x20, #4]
	bl	_le32_to_cpu
	ldr	w8, [x24]
	sub	w8, w8, #9
	lsl	w2, w0, w8
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	w4, #0
	mov	x5, x21
	bl	___blkdev_issue_discard
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _NVME_SC_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NVME_SC_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	w0, [x20]
	bl	_le64_to_cpu
	str	w0, [x19]
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_errno_to_nvme_status
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_NVME_SC_SUCCESS,4,2            ; @NVME_SC_SUCCESS
	.no_dead_strip	_nvmet_bdev_discard_range
.subsections_via_symbols
