	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mark                           ## -- Begin function mark
	.p2align	4, 0x90
_mark:                                  ## @mark
	.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
	movl	%edi, %ebx
	testl	%edi, %edi
	jle	LBB0_2
## %bb.1:
	movq	_msgCount@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_3:
	movq	_MMARK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_message@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%ebx, %rdx
	orl	%eax, -4(%rcx,%rdx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_msgCount,4,2                   ## @msgCount
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad message number to mark"

	.comm	_MMARK,4,2                      ## @MMARK
	.comm	_message,8,3                    ## @message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mark                           ; -- Begin function mark
	.p2align	2
_mark:                                  ; @mark
	.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
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _msgCount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _msgCount@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ge	LBB0_3
LBB0_2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_3:
Lloh5:
	adrp	x8, _MMARK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MMARK@GOTPAGEOFF]
Lloh7:
	adrp	x9, _message@GOTPAGE
Lloh8:
	ldr	x9, [x9, _message@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	ldr	x9, [x9]
	add	x9, x9, w19, sxtw #2
	ldur	w10, [x9, #-4]
	orr	w8, w10, w8
	stur	w8, [x9, #-4]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_msgCount,4,2                   ; @msgCount
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad message number to mark"

	.comm	_MMARK,4,2                      ; @MMARK
	.comm	_message,8,3                    ; @message
.subsections_via_symbols
