	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_syslog_print                   ## -- Begin function syslog_print
	.p2align	4, 0x90
_syslog_print:                          ## @syslog_print
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movsbl	(%rsi), %edi
	movl	$1, %r15d
	movl	$1, %esi
	callq	_ND_TCHECK2
	cmpb	$60, (%r12)
	jne	LBB0_9
## %bb.1:
	movsbl	1(%r12), %edi
	movl	$1, %esi
	callq	_ND_TCHECK2
	movb	1(%r12), %al
	leal	-58(%rax), %ecx
	xorl	%ebx, %ebx
	cmpb	$-10, %cl
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jb	LBB0_8
## %bb.2:
	movq	_SYSLOG_MAX_DIGITS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.3:
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	%al, %eax
	leal	(%rbx,%rbx,4), %ecx
	leal	(%rax,%rcx,2), %ebx
	addl	$-48, %ebx
	leaq	1(%r13), %r15
	movsbl	1(%r12,%r13), %edi
	movl	$1, %esi
	callq	_ND_TCHECK2
	movzbl	1(%r12,%r13), %eax
	leal	-58(%rax), %ecx
	cmpb	$-10, %cl
	jb	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	(%r14), %rcx
	cmpq	%rcx, %r13
	movq	%r15, %r13
	jl	LBB0_4
LBB0_6:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
LBB0_7:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_8:
	cmpb	$62, %al
	jne	LBB0_9
## %bb.12:
	movq	_SYSLOG_FACILITY_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ebx, %edx
	movq	_SYSLOG_SEVERITY_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	sarl	$3, %edx
	movl	(%r14), %r14d
	movq	_syslog_facility_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_tok2str
	movq	_syslog_severity_values@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	callq	_tok2str
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.13:
	movslq	%ebx, %rdi
	callq	_ND_PRINT
	leal	1(%r15), %eax
	cmpl	%r13d, %eax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jge	LBB0_16
## %bb.14:
	movl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movsbl	1(%r12,%rbx), %edi
	movl	$1, %esi
	callq	_ND_TCHECK2
	movsbl	1(%r12,%rbx), %esi
	movq	%r14, %rdi
	callq	_safeputchar
	incq	%rbx
	leal	1(%rbx), %eax
	cmpl	%r13d, %eax
	jl	LBB0_15
LBB0_16:
	cmpl	$2, (%r14)
	jl	LBB0_17
## %bb.18:
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_unknown_data             ## TAILCALL
LBB0_9:
	movq	_tstr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
LBB0_10:
	movslq	%r13d, %rdi
	jmp	LBB0_11
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSLOG_MAX_DIGITS,4,2          ## @SYSLOG_MAX_DIGITS
	.comm	_tstr,4,2                       ## @tstr
	.comm	_SYSLOG_FACILITY_MASK,4,2       ## @SYSLOG_FACILITY_MASK
	.comm	_SYSLOG_SEVERITY_MASK,4,2       ## @SYSLOG_SEVERITY_MASK
	.comm	_syslog_facility_values,4,2     ## @syslog_facility_values
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"unknown (%u)"

	.comm	_syslog_severity_values,4,2     ## @syslog_severity_values
L_.str.4:                               ## @.str.4
	.asciz	"\n\t"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_syslog_print                   ; -- Begin function syslog_print
	.p2align	2
_syslog_print:                          ; @syslog_print
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldrsb	w0, [x1]
	mov	w1, #1
	bl	_ND_TCHECK2
	ldrb	w8, [x20]
	cmp	w8, #60
	b.ne	LBB0_12
; %bb.1:
	ldrsb	w0, [x20, #1]
	mov	w24, #1
	mov	w1, #1
	bl	_ND_TCHECK2
	ldrb	w8, [x20, #1]
	sub	w9, w8, #58
Lloh0:
	adrp	x23, _SYSLOG_MAX_DIGITS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SYSLOG_MAX_DIGITS@GOTPAGEOFF]
	ldr	w10, [x23]
	cmn	w9, #10
	mov	w22, #0
	ccmp	w10, #1, #8, hs
	b.lt	LBB0_5
; %bb.2:
	mov	w24, #2
	mov	w25, #10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	x26, x24, #1
	madd	w8, w22, w25, w8
	sub	w22, w8, #48
	ldrsb	w0, [x20, x24]
	mov	w1, #1
	bl	_ND_TCHECK2
	ldrb	w8, [x20, x24]
	sub	w9, w8, #58
	ldrsw	x10, [x23]
	add	x24, x24, #1
	cmn	w9, #10
	ccmp	x26, x10, #0, hs
	b.lt	LBB0_3
; %bb.4:
	sub	w24, w24, #1
LBB0_5:
	cmp	w8, #62
	b.ne	LBB0_12
; %bb.6:
Lloh2:
	adrp	x8, _SYSLOG_FACILITY_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SYSLOG_FACILITY_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	and	w8, w8, w22
	asr	w2, w8, #3
Lloh5:
	adrp	x8, _SYSLOG_SEVERITY_MASK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SYSLOG_SEVERITY_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	and	w22, w8, w22
	ldr	w25, [x21]
Lloh8:
	adrp	x8, _syslog_facility_values@GOTPAGE
Lloh9:
	ldr	x8, [x8, _syslog_facility_values@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x23, l_.str.2@PAGE
Lloh12:
	add	x23, x23, l_.str.2@PAGEOFF
	mov	x1, x23
	bl	_tok2str
Lloh13:
	adrp	x8, _syslog_severity_values@GOTPAGE
Lloh14:
	ldr	x8, [x8, _syslog_severity_values@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x23
	mov	x2, x22
	bl	_tok2str
	cmp	w25, #1
	b.lt	LBB0_14
; %bb.7:
	sxtw	x0, w22
	bl	_ND_PRINT
	add	w8, w24, #1
	cmp	w8, w19
	b.ge	LBB0_10
; %bb.8:
	mov	w22, w24
	add	x23, x20, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x23, x22]
	mov	w1, #1
	bl	_ND_TCHECK2
	ldrsb	w1, [x23, x22]
	mov	x0, x21
	bl	_safeputchar
	add	x22, x22, #1
	add	w8, w22, #1
	cmp	w8, w19
	b.lt	LBB0_9
LBB0_10:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_15
; %bb.11:
Lloh16:
	adrp	x2, l_.str.4@PAGE
Lloh17:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_print_unknown_data
LBB0_12:
Lloh18:
	adrp	x8, _tstr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _tstr@GOTPAGEOFF]
Lloh20:
	ldrsw	x0, [x8]
LBB0_13:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ND_PRINT
LBB0_14:
	sxtw	x0, w19
	b	LBB0_13
LBB0_15:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSLOG_MAX_DIGITS,4,2          ; @SYSLOG_MAX_DIGITS
	.comm	_tstr,4,2                       ; @tstr
	.comm	_SYSLOG_FACILITY_MASK,4,2       ; @SYSLOG_FACILITY_MASK
	.comm	_SYSLOG_SEVERITY_MASK,4,2       ; @SYSLOG_SEVERITY_MASK
	.comm	_syslog_facility_values,4,2     ; @syslog_facility_values
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"unknown (%u)"

	.comm	_syslog_severity_values,4,2     ; @syslog_severity_values
l_.str.4:                               ; @.str.4
	.asciz	"\n\t"

.subsections_via_symbols
