	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_ro
_set_ro:                                ## @set_ro
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	-16(%rbp), %rsi
	movl	$10, %edx
	callq	_simple_strtoul
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	-16(%rbp), %rcx
	movb	(%rcx), %cl
	cmpb	$10, %cl
	je	LBB0_3
## %bb.2:
	testb	%cl, %cl
	jne	LBB0_4
LBB0_3:
	movq	_start_readonly@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_start_readonly,4,2             ## @start_readonly
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_set_ro
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_ro
_set_ro:                                ; @set_ro
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x1, sp, #8
	mov	w2, #10
	bl	_simple_strtoul
	ldrb	w8, [x19]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cmp	w8, #10
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #0
Lloh0:
	adrp	x9, _start_readonly@GOTPAGE
Lloh1:
	ldr	x9, [x9, _start_readonly@GOTPAGEOFF]
Lloh2:
	str	w0, [x9]
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_4:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_start_readonly,4,2             ; @start_readonly
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_set_ro
.subsections_via_symbols
