	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsyslog                        ## -- Begin function vsyslog
	.p2align	4, 0x90
_vsyslog:                               ## @vsyslog
	.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, %r14d
	movq	%rsi, %r15
	movl	%edi, %ebx
	callq	_LOG_PRI
	movl	%eax, %edi
	callq	_LOG_MASK
	movq	_log_mask@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.1:
	movq	_LOG_FACMASK@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	andl	%ebx, %edx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_openlog
	movq	_initialized@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_9
## %bb.2:
	movl	(%r13), %eax
	andl	%ebx, %eax
	jne	LBB0_4
## %bb.3:
	movq	_syslog_facility@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_4:
	orl	%ebx, %r12d
	leaq	-64(%rbp), %rdi
	callq	_GetLocalTime
	movq	_datagramm@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movslq	-64(%rbp), %rax
	leaq	_reltable.vsyslog(%rip), %rdx
	movslq	-4(%rdx,%rax,4), %rcx
	addq	%rdx, %rcx
	movl	-60(%rbp), %r8d
	movl	-56(%rbp), %r9d
	movl	-52(%rbp), %r11d
	movl	-48(%rbp), %ebx
	movq	_syslog_ident@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	leaq	L_.str.13(%rip), %rax
	cmovneq	%rdx, %rax
	movq	_str_pid@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r10d
	subq	$8, %rsp
	leaq	L_.str.12(%rip), %rsi
	movl	%r12d, %edx
	pushq	%r10
	pushq	%rax
	movq	_local_hostname@GOTPCREL(%rip), %rax
	pushq	(%rax)
	pushq	%rbx
	pushq	%r11
	callq	_sprintf
	addq	$48, %rsp
	cltq
	movq	(%r13), %rdi
	addq	%rax, %rdi
	movq	_datagramm_size@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	subq	%rax, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_vsnprintf
	movq	(%r13), %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movb	$0, (%rax)
LBB0_6:
	movq	(%r13), %rdi
	movl	$13, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movb	$0, (%rax)
LBB0_8:
	movq	_sock@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%r13), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	movq	_sa_logger@GOTPCREL(%rip), %r8
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movl	$4, %r9d
	callq	_sendto
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.vsyslog
_reltable.vsyslog:
	.long	L_.str-_reltable.vsyslog
	.long	L_.str.1-_reltable.vsyslog
	.long	L_.str.2-_reltable.vsyslog
	.long	L_.str.3-_reltable.vsyslog
	.long	L_.str.4-_reltable.vsyslog
	.long	L_.str.5-_reltable.vsyslog
	.long	L_.str.6-_reltable.vsyslog
	.long	L_.str.7-_reltable.vsyslog
	.long	L_.str.8-_reltable.vsyslog
	.long	L_.str.9-_reltable.vsyslog
	.long	L_.str.10-_reltable.vsyslog
	.long	L_.str.11-_reltable.vsyslog

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Jan"

L_.str.1:                               ## @.str.1
	.asciz	"Feb"

L_.str.2:                               ## @.str.2
	.asciz	"Mar"

L_.str.3:                               ## @.str.3
	.asciz	"Apr"

L_.str.4:                               ## @.str.4
	.asciz	"May"

L_.str.5:                               ## @.str.5
	.asciz	"Jun"

L_.str.6:                               ## @.str.6
	.asciz	"Jul"

L_.str.7:                               ## @.str.7
	.asciz	"Aug"

L_.str.8:                               ## @.str.8
	.asciz	"Sep"

L_.str.9:                               ## @.str.9
	.asciz	"Oct"

L_.str.10:                              ## @.str.10
	.asciz	"Nov"

L_.str.11:                              ## @.str.11
	.asciz	"Dec"

	.comm	_log_mask,4,2                   ## @log_mask
	.comm	_LOG_FACMASK,4,2                ## @LOG_FACMASK
	.comm	_initialized,4,2                ## @initialized
	.comm	_syslog_facility,4,2            ## @syslog_facility
	.comm	_datagramm,8,3                  ## @datagramm
L_.str.12:                              ## @.str.12
	.asciz	"<%d>%s %2d %02d:%02d:%02d %s %s%s: "

	.comm	_local_hostname,8,3             ## @local_hostname
	.comm	_syslog_ident,8,3               ## @syslog_ident
L_.str.13:                              ## @.str.13
	.space	1

	.comm	_str_pid,4,2                    ## @str_pid
	.comm	_datagramm_size,8,3             ## @datagramm_size
	.comm	_sock,4,2                       ## @sock
	.comm	_sa_logger,4,2                  ## @sa_logger
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsyslog                        ; -- Begin function vsyslog
	.p2align	2
_vsyslog:                               ; @vsyslog
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_LOG_PRI
	bl	_LOG_MASK
Lloh0:
	adrp	x8, _log_mask@GOTPAGE
Lloh1:
	ldr	x8, [x8, _log_mask@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_7
; %bb.1:
Lloh3:
	adrp	x22, _LOG_FACMASK@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LOG_FACMASK@GOTPAGEOFF]
	ldr	w8, [x22]
	and	w2, w8, w21
	mov	x0, #0
	mov	w1, #0
	bl	_openlog
Lloh5:
	adrp	x8, _initialized@GOTPAGE
Lloh6:
	ldr	x8, [x8, _initialized@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	w8, [x22]
Lloh8:
	adrp	x9, _syslog_facility@GOTPAGE
Lloh9:
	ldr	x9, [x9, _syslog_facility@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w8, w21
	csel	w8, w9, wzr, eq
	orr	w21, w8, w21
	add	x0, sp, #24
	bl	_GetLocalTime
Lloh11:
	adrp	x22, _datagramm@GOTPAGE
Lloh12:
	ldr	x22, [x22, _datagramm@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh13:
	adrp	x8, _vsyslog.month@PAGE
Lloh14:
	add	x8, x8, _vsyslog.month@PAGEOFF
	ldp	w9, w4, [sp, #24]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x8, x8, x9, lsl #3
	ldur	x3, [x8, #-8]
	ldp	w5, w6, [sp, #32]
Lloh15:
	adrp	x8, _local_hostname@GOTPAGE
Lloh16:
	ldr	x8, [x8, _local_hostname@GOTPAGEOFF]
	ldr	w7, [sp, #40]
Lloh17:
	ldr	x8, [x8]
Lloh18:
	adrp	x9, _syslog_ident@GOTPAGE
Lloh19:
	ldr	x9, [x9, _syslog_ident@GOTPAGEOFF]
Lloh20:
	adrp	x10, l_.str.13@PAGE
Lloh21:
	add	x10, x10, l_.str.13@PAGEOFF
Lloh22:
	ldr	x9, [x9]
	cmp	x9, #0
	csel	x9, x10, x9, eq
Lloh23:
	adrp	x10, _str_pid@GOTPAGE
Lloh24:
	ldr	x10, [x10, _str_pid@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	str	w10, [sp, #16]
	stp	x8, x9, [sp]
Lloh26:
	adrp	x1, l_.str.12@PAGE
Lloh27:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x2, x21
	bl	_sprintf
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x22]
	sxtw	x9, w0
	add	x0, x8, x9
Lloh28:
	adrp	x8, _datagramm_size@GOTPAGE
Lloh29:
	ldr	x8, [x8, _datagramm_size@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	sub	x1, x8, x9
	mov	x2, x20
	mov	x3, x19
	bl	_vsnprintf
	ldr	x0, [x22]
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_4
; %bb.3:
	strb	wzr, [x0]
LBB0_4:
	ldr	x0, [x22]
	mov	w1, #13
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.5:
	strb	wzr, [x0]
LBB0_6:
Lloh31:
	adrp	x8, _sock@GOTPAGE
Lloh32:
	ldr	x8, [x8, _sock@GOTPAGEOFF]
Lloh33:
	ldr	w19, [x8]
	ldr	x20, [x22]
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
Lloh34:
	adrp	x4, _sa_logger@GOTPAGE
Lloh35:
	ldr	x4, [x4, _sa_logger@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	mov	w3, #0
	mov	w5, #4
	bl	_sendto
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @vsyslog.month
_vsyslog.month:
	.quad	l_.str
	.quad	l_.str.1
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	l_.str.4
	.quad	l_.str.5
	.quad	l_.str.6
	.quad	l_.str.7
	.quad	l_.str.8
	.quad	l_.str.9
	.quad	l_.str.10
	.quad	l_.str.11

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Jan"

l_.str.1:                               ; @.str.1
	.asciz	"Feb"

l_.str.2:                               ; @.str.2
	.asciz	"Mar"

l_.str.3:                               ; @.str.3
	.asciz	"Apr"

l_.str.4:                               ; @.str.4
	.asciz	"May"

l_.str.5:                               ; @.str.5
	.asciz	"Jun"

l_.str.6:                               ; @.str.6
	.asciz	"Jul"

l_.str.7:                               ; @.str.7
	.asciz	"Aug"

l_.str.8:                               ; @.str.8
	.asciz	"Sep"

l_.str.9:                               ; @.str.9
	.asciz	"Oct"

l_.str.10:                              ; @.str.10
	.asciz	"Nov"

l_.str.11:                              ; @.str.11
	.asciz	"Dec"

	.comm	_log_mask,4,2                   ; @log_mask
	.comm	_LOG_FACMASK,4,2                ; @LOG_FACMASK
	.comm	_initialized,4,2                ; @initialized
	.comm	_syslog_facility,4,2            ; @syslog_facility
	.comm	_datagramm,8,3                  ; @datagramm
l_.str.12:                              ; @.str.12
	.asciz	"<%d>%s %2d %02d:%02d:%02d %s %s%s: "

	.comm	_local_hostname,8,3             ; @local_hostname
	.comm	_syslog_ident,8,3               ; @syslog_ident
l_.str.13:                              ; @.str.13
	.space	1

	.comm	_str_pid,4,2                    ; @str_pid
	.comm	_datagramm_size,8,3             ; @datagramm_size
	.comm	_sock,4,2                       ; @sock
	.comm	_sa_logger,4,2                  ; @sa_logger
.subsections_via_symbols
