	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loop_clr_fd
_loop_clr_fd:                           ## @loop_clr_fd
	.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	(%rdi), %rax
	movq	_Lo_bound@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rdi, %rbx
	cmpl	$2, 8(%rdi)
	jl	LBB0_5
## %bb.4:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	104(%rbx), %r14
	testq	%r14, %r14
	je	LBB0_6
## %bb.7:
	movq	%rsi, %r15
	movl	124(%rbx), %r12d
	leaq	120(%rbx), %r13
	movq	%r13, %rdi
	callq	_spin_lock_irq
	movq	_Lo_rundown@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	%r13, %rdi
	callq	_spin_unlock_irq
	movq	32(%rbx), %rdi
	callq	_kthread_stop
	movq	112(%rbx), %rax
	movq	$0, (%rax)
	movq	$0, 104(%rbx)
	movq	%rbx, %rdi
	callq	_loop_release_xfer
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movups	%xmm0, 48(%rbx)
	movups	%xmm0, 64(%rbx)
	movups	%xmm0, 80(%rbx)
	movq	$0, 96(%rbx)
	movl	28(%rbx), %edi
	movq	_LO_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	24(%rbx), %edi
	movq	_LO_NAME_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	xorl	%esi, %esi
	callq	_memset
	movl	20(%rbx), %edi
	movl	(%r13), %edx
	xorl	%esi, %esi
	callq	_memset
	testq	%r15, %r15
	je	LBB0_9
## %bb.8:
	movq	%r15, %rdi
	callq	_invalidate_bdev
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	callq	_set_capacity
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bd_set_size
	jmp	LBB0_10
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_9:
	movl	16(%rbx), %edi
	xorl	%esi, %esi
	callq	_set_capacity
LBB0_10:
	movl	(%r14), %edi
	movl	%r12d, %esi
	callq	_mapping_set_gfp_mask
	movq	_Lo_unbound@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_module_put
	testq	%r15, %r15
	je	LBB0_13
## %bb.11:
	movq	_max_part@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_13
## %bb.12:
	movq	_BLKRRPART@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_ioctl_by_bdev
LBB0_13:
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r14, %rdi
	callq	_fput
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_Lo_bound,8,3                   ## @Lo_bound
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_Lo_rundown,8,3                 ## @Lo_rundown
	.comm	_LO_KEY_SIZE,4,2                ## @LO_KEY_SIZE
	.comm	_LO_NAME_SIZE,4,2               ## @LO_NAME_SIZE
	.comm	_Lo_unbound,8,3                 ## @Lo_unbound
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_max_part,8,3                   ## @max_part
	.comm	_BLKRRPART,4,2                  ## @BLKRRPART
	.no_dead_strip	_loop_clr_fd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loop_clr_fd
_loop_clr_fd:                           ; @loop_clr_fd
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _Lo_bound@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Lo_bound@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
	cmp	w8, #2
	b.lt	LBB0_6
; %bb.2:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _ENXIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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_6:
	ldr	x21, [x19, #104]
	cbz	x21, LBB0_9
; %bb.7:
	mov	x20, x1
	ldr	w22, [x19, #124]
	add	x23, x19, #120
	mov	x0, x23
	bl	_spin_lock_irq
Lloh7:
	adrp	x8, _Lo_rundown@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Lo_rundown@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x23
	bl	_spin_unlock_irq
	ldr	x0, [x19, #32]
	bl	_kthread_stop
	ldr	x8, [x19, #112]
	str	xzr, [x8]
	str	xzr, [x19, #104]
	mov	x0, x19
	bl	_loop_release_xfer
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
	stp	q0, q0, [x19, #64]
	str	xzr, [x19, #96]
	ldr	w0, [x19, #28]
Lloh10:
	adrp	x8, _LO_KEY_SIZE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LO_KEY_SIZE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19, #24]
Lloh13:
	adrp	x23, _LO_NAME_SIZE@GOTPAGE
Lloh14:
	ldr	x23, [x23, _LO_NAME_SIZE@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_memset
	ldr	w0, [x19, #20]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_memset
	cbz	x20, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_invalidate_bdev
	ldr	w0, [x19, #16]
	mov	w1, #0
	bl	_set_capacity
	mov	x0, x20
	mov	w1, #0
	bl	_bd_set_size
	b	LBB0_11
LBB0_9:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
	ldr	w0, [x19, #16]
	mov	w1, #0
	bl	_set_capacity
LBB0_11:
	ldr	w0, [x21]
	mov	x1, x22
	bl	_mapping_set_gfp_mask
Lloh17:
	adrp	x8, _Lo_unbound@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Lo_unbound@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh20:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_module_put
	cbz	x20, LBB0_14
; %bb.12:
Lloh23:
	adrp	x8, _max_part@GOTPAGE
Lloh24:
	ldr	x8, [x8, _max_part@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.13:
Lloh26:
	adrp	x8, _BLKRRPART@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BLKRRPART@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_ioctl_by_bdev
LBB0_14:
	add	x0, x19, #12
	bl	_mutex_unlock
	mov	x0, x21
	bl	_fput
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_Lo_bound,8,3                   ; @Lo_bound
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_Lo_rundown,8,3                 ; @Lo_rundown
	.comm	_LO_KEY_SIZE,4,2                ; @LO_KEY_SIZE
	.comm	_LO_NAME_SIZE,4,2               ; @LO_NAME_SIZE
	.comm	_Lo_unbound,8,3                 ; @Lo_unbound
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_max_part,8,3                   ; @max_part
	.comm	_BLKRRPART,4,2                  ; @BLKRRPART
	.no_dead_strip	_loop_clr_fd
.subsections_via_symbols
