	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kern_readonly                  ## -- Begin function kern_readonly
	.p2align	4, 0x90
_kern_readonly:                         ## @kern_readonly
	.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
	movl	%edi, %ebx
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movq	_pflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	movq	_GMON_PROF_HIRES@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_GMON_PROF_ON@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
LBB0_3:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
LBB0_4:
	movq	_rflag@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_fprintf
LBB0_6:
	movq	_Bflag@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_8
## %bb.7:
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
LBB0_8:
	movq	_bflag@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	je	LBB0_10
## %bb.9:
	movl	(%r14), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_fprintf
LBB0_10:
	movq	_hflag@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_12
## %bb.11:
	movl	(%r14), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_fprintf
LBB0_12:
	movq	$0, (%rbx)
	movq	$0, (%r13)
	movq	$0, (%r12)
	movq	$0, (%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kgmon: kernel read-only: "

	.comm	_pflag,8,3                      ## @pflag
	.comm	_GMON_PROF_HIRES,4,2            ## @GMON_PROF_HIRES
	.comm	_GMON_PROF_ON,4,2               ## @GMON_PROF_ON
L_.str.1:                               ## @.str.1
	.asciz	"data may be inconsistent\n"

	.comm	_rflag,8,3                      ## @rflag
L_.str.2:                               ## @.str.2
	.asciz	"-r suppressed\n"

	.comm	_Bflag,8,3                      ## @Bflag
L_.str.3:                               ## @.str.3
	.asciz	"-B suppressed\n"

	.comm	_bflag,8,3                      ## @bflag
L_.str.4:                               ## @.str.4
	.asciz	"-b suppressed\n"

	.comm	_hflag,8,3                      ## @hflag
L_.str.5:                               ## @.str.5
	.asciz	"-h suppressed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kern_readonly                  ; -- Begin function kern_readonly
	.p2align	2
_kern_readonly:                         ; @kern_readonly
	.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	x19, x0
Lloh0:
	adrp	x20, _stderr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
Lloh4:
	adrp	x8, _pflag@GOTPAGE
Lloh5:
	ldr	x8, [x8, _pflag@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh7:
	adrp	x8, _GMON_PROF_HIRES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GMON_PROF_HIRES@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _GMON_PROF_ON@GOTPAGE
Lloh11:
	ldr	x9, [x9, _GMON_PROF_ON@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [x20]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_3:
Lloh15:
	adrp	x19, _rflag@GOTPAGE
Lloh16:
	ldr	x19, [x19, _rflag@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	ldr	w0, [x20]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_5:
Lloh19:
	adrp	x21, _Bflag@GOTPAGE
Lloh20:
	ldr	x21, [x21, _Bflag@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w0, [x20]
Lloh21:
	adrp	x1, l_.str.3@PAGE
Lloh22:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_7:
Lloh23:
	adrp	x22, _bflag@GOTPAGE
Lloh24:
	ldr	x22, [x22, _bflag@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	w0, [x20]
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_9:
Lloh27:
	adrp	x23, _hflag@GOTPAGE
Lloh28:
	ldr	x23, [x23, _hflag@GOTPAGEOFF]
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.10:
	ldr	w0, [x20]
Lloh29:
	adrp	x1, l_.str.5@PAGE
Lloh30:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
LBB0_11:
	str	xzr, [x23]
	str	xzr, [x22]
	str	xzr, [x21]
	str	xzr, [x19]
	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
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kgmon: kernel read-only: "

	.comm	_pflag,8,3                      ; @pflag
	.comm	_GMON_PROF_HIRES,4,2            ; @GMON_PROF_HIRES
	.comm	_GMON_PROF_ON,4,2               ; @GMON_PROF_ON
l_.str.1:                               ; @.str.1
	.asciz	"data may be inconsistent\n"

	.comm	_rflag,8,3                      ; @rflag
l_.str.2:                               ; @.str.2
	.asciz	"-r suppressed\n"

	.comm	_Bflag,8,3                      ; @Bflag
l_.str.3:                               ; @.str.3
	.asciz	"-B suppressed\n"

	.comm	_bflag,8,3                      ; @bflag
l_.str.4:                               ; @.str.4
	.asciz	"-b suppressed\n"

	.comm	_hflag,8,3                      ; @hflag
l_.str.5:                               ; @.str.5
	.asciz	"-h suppressed\n"

.subsections_via_symbols
