	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function blkdev_reread_part
_blkdev_reread_part:                    ## @blkdev_reread_part
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	%r14, %rdi
	callq	_disk_partitionable
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	cmpq	%rbx, 8(%rbx)
	je	LBB0_4
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_CAP_SYS_ADMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_capable
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_mutex_trylock
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rescan_partitions
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movl	%r14d, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_EACCES@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CAP_SYS_ADMIN,4,2              ## @CAP_SYS_ADMIN
	.comm	_EACCES,4,2                     ## @EACCES
	.comm	_EBUSY,4,2                      ## @EBUSY
	.no_dead_strip	_blkdev_reread_part
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function blkdev_reread_part
_blkdev_reread_part:                    ; @blkdev_reread_part
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #16]
	mov	x0, x20
	bl	_disk_partitionable
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, x19
	b.eq	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh2:
	adrp	x8, _CAP_SYS_ADMIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CAP_SYS_ADMIN@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_capable
	cbz	w0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_mutex_trylock
	cbz	w0, LBB0_9
; %bb.7:
	mov	x0, x20
	mov	x1, x19
	bl	_rescan_partitions
	mov	x20, x0
	mov	x0, x19
	bl	_mutex_unlock
	mov	x0, x20
	b	LBB0_4
LBB0_8:
Lloh5:
	adrp	x8, _EACCES@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_3
LBB0_9:
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CAP_SYS_ADMIN,4,2              ; @CAP_SYS_ADMIN
	.comm	_EACCES,4,2                     ; @EACCES
	.comm	_EBUSY,4,2                      ; @EBUSY
	.no_dead_strip	_blkdev_reread_part
.subsections_via_symbols
