	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function printsys
_printsys:                              ## @printsys
	.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
	movq	%rdi, %rbx
	movq	_SYNC_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_DEFSPRI@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	cmpb	$60, (%rdi)
	jne	LBB0_6
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %r13
	movq	$0, (%r13)
	leaq	1(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %rdi
	movq	-48(%rbp), %rax
	cmpb	$62, (%rax)
	jne	LBB0_6
## %bb.2:
	testq	%rdi, %rdi
	js	LBB0_6
## %bb.3:
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdi
	jge	LBB0_6
## %bb.4:
	cmpq	$0, (%r13)
	jne	LBB0_6
## %bb.5:
	incq	%rax
	movq	_LOG_FACMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	andl	%edi, %edx
	movq	_LOG_CONSOLE@GOTPCREL(%rip), %rsi
	movl	%edi, %r12d
	movq	%rax, %rbx
	cmpl	(%rsi), %edx
	jne	LBB0_7
LBB0_6:
	movq	_IGN_CONS@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	movq	_LOG_FACMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	movq	%rbx, %rax
LBB0_7:
	movq	_LOG_PRIMASK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	notl	%ecx
	testl	%ecx, %edi
	je	LBB0_9
## %bb.8:
	movl	(%r15), %edi
LBB0_9:
	movq	_LocalHostName@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rcx
                                        ## kill: def $edi killed $edi killed $rdi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%rax
	pushq	$0
	callq	_logmsg
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYNC_FILE,4,2                  ## @SYNC_FILE
	.comm	_DEFSPRI,4,2                    ## @DEFSPRI
	.comm	_errno,8,3                      ## @errno
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_LOG_FACMASK,4,2                ## @LOG_FACMASK
	.comm	_LOG_CONSOLE,4,2                ## @LOG_CONSOLE
	.comm	_IGN_CONS,4,2                   ## @IGN_CONS
	.comm	_LOG_PRIMASK,4,2                ## @LOG_PRIMASK
	.comm	_LocalHostName,4,2              ## @LocalHostName
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kernel"

	.no_dead_strip	_printsys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function printsys
_printsys:                              ; @printsys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, _SYNC_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYNC_FILE@GOTPAGEOFF]
Lloh2:
	adrp	x21, _DEFSPRI@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DEFSPRI@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	ldr	w23, [x21]
	ldrb	w8, [x0]
Lloh5:
	adrp	x22, _LOG_FACMASK@GOTPAGE
Lloh6:
	ldr	x22, [x22, _LOG_FACMASK@GOTPAGEOFF]
	cmp	w8, #60
	b.ne	LBB0_6
; %bb.1:
Lloh7:
	adrp	x24, _errno@GOTPAGE
Lloh8:
	ldr	x24, [x24, _errno@GOTPAGEOFF]
	str	xzr, [x24]
	add	x0, x19, #1
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #62
	b.ne	LBB0_6
; %bb.2:
	tbnz	x0, #63, LBB0_6
; %bb.3:
Lloh9:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	x10, [x24]
	cmp	x0, x9
	ccmp	x10, #0, #0, lt
	b.ne	LBB0_6
; %bb.4:
	add	x19, x8, #1
	ldr	w8, [x22]
	and	w9, w8, w0
Lloh12:
	adrp	x10, _LOG_CONSOLE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _LOG_CONSOLE@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_7
; %bb.5:
	mov	x23, x0
LBB0_6:
Lloh15:
	adrp	x8, _IGN_CONS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IGN_CONS@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	orr	w20, w8, w20
	ldr	w8, [x22]
	mov	x0, x23
LBB0_7:
Lloh18:
	adrp	x9, _LOG_PRIMASK@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LOG_PRIMASK@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x21]
	bics	wzr, w0, w8
	csel	w0, w0, w9, eq
Lloh21:
	adrp	x8, _LocalHostName@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LocalHostName@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	str	w20, [sp]
Lloh24:
	adrp	x3, l_.str@PAGE
Lloh25:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, x19
	bl	_logmsg
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SYNC_FILE,4,2                  ; @SYNC_FILE
	.comm	_DEFSPRI,4,2                    ; @DEFSPRI
	.comm	_errno,8,3                      ; @errno
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_LOG_FACMASK,4,2                ; @LOG_FACMASK
	.comm	_LOG_CONSOLE,4,2                ; @LOG_CONSOLE
	.comm	_IGN_CONS,4,2                   ; @IGN_CONS
	.comm	_LOG_PRIMASK,4,2                ; @LOG_PRIMASK
	.comm	_LocalHostName,4,2              ; @LocalHostName
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kernel"

	.no_dead_strip	_printsys
.subsections_via_symbols
