	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetSysLog                      ## -- Begin function SetSysLog
	.p2align	4, 0x90
_SetSysLog:                             ## @SetSysLog
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	jne	LBB0_3
## %bb.2:
	movq	_SYSLOG_PORT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_3:
	testq	%rsi, %rsi
	leaq	L_.str(%rip), %r12
	cmovneq	%rsi, %r12
	leaq	-36(%rbp), %r15
	movq	%r15, %rdi
	movl	$4, %esi
	callq	_Zero
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_GetIP
	movl	(%rbx), %edi
	callq	_Lock
	leaq	24(%rbx), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_Copy
	movq	%r14, 16(%rbx)
	movl	8(%rbx), %edi
	movl	$4, %esi
	movq	%r12, %rdx
	callq	_StrCpy
	xorl	%eax, %eax
	callq	_Tick64
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_IsZeroIp
	addq	%r14, %rax
	jne	LBB0_4
## %bb.5:
	movq	_SYSLOG_POLL_IP_INTERVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_SYSLOG_POLL_IP_INTERVAL_NG@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movl	(%rbx), %edi
	callq	_Unlock
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSLOG_PORT,8,3                ## @SYSLOG_PORT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_SYSLOG_POLL_IP_INTERVAL_NG,4,2 ## @SYSLOG_POLL_IP_INTERVAL_NG
	.comm	_SYSLOG_POLL_IP_INTERVAL,4,2    ## @SYSLOG_POLL_IP_INTERVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SetSysLog                      ; -- Begin function SetSysLog
	.p2align	2
_SetSysLog:                             ; @SetSysLog
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	sub	sp, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SYSLOG_PORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYSLOG_PORT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, #0
	csel	x21, x8, x2, eq
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x1, #0
	csel	x20, x8, x1, eq
	add	x0, sp, #12
	mov	w1, #4
	bl	_Zero
	add	x0, sp, #12
	mov	x1, x20
	bl	_GetIP
	ldr	w0, [x19]
	bl	_Lock
	add	x0, x19, #24
	add	x1, sp, #12
	mov	w2, #4
	bl	_Copy
	str	x21, [x19, #16]
	ldr	w0, [x19, #8]
	mov	w1, #4
	mov	x2, x20
	bl	_StrCpy
	bl	_Tick64
	mov	x20, x0
	add	x0, sp, #12
	bl	_IsZeroIp
Lloh5:
	adrp	x8, _SYSLOG_POLL_IP_INTERVAL_NG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SYSLOG_POLL_IP_INTERVAL_NG@GOTPAGEOFF]
Lloh7:
	adrp	x9, _SYSLOG_POLL_IP_INTERVAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SYSLOG_POLL_IP_INTERVAL@GOTPAGEOFF]
	cmn	x20, x0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x19, #4]
	ldr	w0, [x19]
	bl	_Unlock
	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
	add	sp, sp, #64
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSLOG_PORT,8,3                ; @SYSLOG_PORT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_SYSLOG_POLL_IP_INTERVAL_NG,4,2 ; @SYSLOG_POLL_IP_INTERVAL_NG
	.comm	_SYSLOG_POLL_IP_INTERVAL,4,2    ; @SYSLOG_POLL_IP_INTERVAL
.subsections_via_symbols
