	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_disk_ro_uevent
_set_disk_ro_uevent:                    ## @set_disk_ro_uevent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movabsq	$4417840328712866116, %rax      ## imm = 0x3D4F525F4B534944
	movq	%rax, -24(%rbp)
	movw	$49, -16(%rbp)
	leaq	-24(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -40(%rbp)
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	movb	$48, -16(%rbp)
LBB0_2:
	callq	_disk_to_dev
	movq	_KOBJ_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-48(%rbp), %rdx
	movq	%rax, %rdi
	callq	_kobject_uevent_env
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	addq	$48, %rsp
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.set_disk_ro_uevent.event:     ## @__const.set_disk_ro_uevent.event
	.asciz	"DISK_RO=1"

	.comm	_KOBJ_CHANGE,4,2                ## @KOBJ_CHANGE
	.no_dead_strip	_set_disk_ro_uevent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_disk_ro_uevent
_set_disk_ro_uevent:                    ; @set_disk_ro_uevent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, l___const.set_disk_ro_uevent.event@PAGE
Lloh4:
	add	x8, x8, l___const.set_disk_ro_uevent.event@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #16]
	mov	w8, #49
	strh	w8, [sp, #32]
	add	x8, sp, #24
	str	x8, [sp, #8]
	cbnz	w1, LBB0_2
; %bb.1:
	mov	w8, #48
	strb	w8, [sp, #32]
LBB0_2:
	bl	_disk_to_dev
Lloh6:
	adrp	x8, _KOBJ_CHANGE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KOBJ_CHANGE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_kobject_uevent_env
	ldur	x8, [x29, #-8]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.set_disk_ro_uevent.event:     ; @__const.set_disk_ro_uevent.event
	.asciz	"DISK_RO=1"

	.comm	_KOBJ_CHANGE,4,2                ; @KOBJ_CHANGE
	.no_dead_strip	_set_disk_ro_uevent
.subsections_via_symbols
