	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_logger_addr
_init_logger_addr:                      ## @init_logger_addr
	.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	%r12
	pushq	%rbx
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_FILENAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_sa_logger@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_syslog_conf_dir@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movb	(%rsi), %al
	cmpb	$47, %al
	je	LBB0_3
## %bb.1:
	cmpb	$92, %al
	je	LBB0_3
## %bb.2:
	cmpb	$58, 1(%rsi)
	jne	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
	callq	_strcpy
LBB0_10:
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	leaq	(%rax,%rbx), %rdi
	decq	%rdi
	movb	-1(%rax,%rbx), %al
	cmpb	$47, %al
	je	LBB0_13
## %bb.11:
	cmpb	$92, %al
	je	LBB0_13
## %bb.12:
	movb	$47, 1(%rdi)
	incq	%rdi
LBB0_13:
	incq	%rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcpy
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_26
## %bb.14:
	movq	%rax, %rbx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movq	%rax, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	leaq	-304(%rbp), %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movb	$0, (%rax)
LBB0_18:
	leaq	-304(%rbp), %rdi
	movl	$13, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movb	$0, (%rax)
	jmp	LBB0_20
LBB0_15:
	movb	$0, -304(%rbp)
LBB0_20:
	movq	%rbx, %rdi
	callq	_fclose
	leaq	-304(%rbp), %rdi
	movl	$58, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_21
## %bb.22:
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	jmp	LBB0_23
LBB0_21:
	xorl	%ebx, %ebx
LBB0_23:
	leaq	-304(%rbp), %rdi
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	movl	(%rax), %edx
	movl	4(%rax), %esi
	leaq	12(%r14), %rdi
	callq	_memcpy
	testq	%rbx, %rbx
	je	LBB0_27
## %bb.25:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_strtoul
	jmp	LBB0_28
LBB0_26:
	movl	$2130706433, %edi               ## imm = 0x7F000001
	callq	_htonl
	movl	%eax, 8(%r14)
LBB0_27:
	movq	_SYSLOG_PORT@GOTPCREL(%rip), %rax
	movzwl	(%rax), %eax
LBB0_28:
	movzwl	%ax, %edi
	callq	_htons
	movq	%rax, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_30
## %bb.29:
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	___argv@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_strcpy
	movq	%rbx, %rdi
	movl	$92, %esi
	callq	_strrchr
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	cmpq	%rax, %r15
	jae	LBB0_6
## %bb.5:
	movb	$0, 1(%rax)
	jmp	LBB0_9
LBB0_6:
	jbe	LBB0_8
## %bb.7:
	movb	$0, 1(%r15)
	jmp	LBB0_9
LBB0_8:
	movb	$0, (%rbx)
LBB0_9:
	movq	(%r12), %rsi
	movq	%rbx, %rdi
	callq	_strcat
	jmp	LBB0_10
LBB0_30:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FILENAME_MAX,4,2               ## @FILENAME_MAX
	.comm	_sa_logger,24,3                 ## @sa_logger
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_syslog_conf_dir,8,3            ## @syslog_conf_dir
	.comm	___argv,8,3                     ## @__argv
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"syslog.host"

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

	.comm	_SYSLOG_PORT,2,1                ## @SYSLOG_PORT
	.no_dead_strip	_init_logger_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_logger_addr
_init_logger_addr:                      ; @init_logger_addr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #272
	mov	x19, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _FILENAME_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FILENAME_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh8:
	adrp	x20, _sa_logger@GOTPAGE
Lloh9:
	ldr	x20, [x20, _sa_logger@GOTPAGEOFF]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh10:
	adrp	x8, _AF_INET@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x20, #16]
Lloh13:
	adrp	x23, _syslog_conf_dir@GOTPAGE
Lloh14:
	ldr	x23, [x23, _syslog_conf_dir@GOTPAGEOFF]
	ldr	x1, [x23]
	ldrb	w8, [x1]
	cmp	w8, #47
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #92
	b.eq	LBB0_3
; %bb.2:
	ldrb	w8, [x1, #1]
	cmp	w8, #58
	b.ne	LBB0_23
LBB0_3:
	mov	x0, x21
	bl	_strcpy
LBB0_4:
	mov	x0, x21
	bl	_strlen
	add	x8, x21, w0, sxtw
	ldrb	w9, [x8, #-1]!
	cmp	w9, #47
	b.eq	LBB0_7
; %bb.5:
	cmp	w9, #92
	b.eq	LBB0_7
; %bb.6:
	mov	w9, #47
	strb	w9, [x8, #1]!
LBB0_7:
	add	x0, x8, #1
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcpy
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_fopen
	cbz	x0, LBB0_19
; %bb.8:
	mov	x21, x0
	add	x0, x19, #8
	mov	w1, #256
	mov	x2, x21
	bl	_fgets
	cbz	x0, LBB0_13
; %bb.9:
	add	x0, x19, #8
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.10:
	strb	wzr, [x0]
LBB0_11:
	add	x0, x19, #8
	mov	w1, #13
	bl	_strchr
	cbz	x0, LBB0_14
; %bb.12:
	strb	wzr, [x0]
	b	LBB0_14
LBB0_13:
	strb	wzr, [x19, #8]
LBB0_14:
	mov	x0, x21
	bl	_fclose
	add	x0, x19, #8
	mov	w1, #58
	bl	_strchr
	mov	x21, x0
	cbz	x0, LBB0_16
; %bb.15:
	strb	wzr, [x21], #1
LBB0_16:
	add	x0, x19, #8
	bl	_gethostbyname
	cbz	x0, LBB0_19
; %bb.17:
	ldp	w2, w1, [x0]
	add	x0, x20, #12
	bl	_memcpy
	cbz	x21, LBB0_20
; %bb.18:
	mov	x0, x21
	mov	x1, #0
	mov	w2, #0
	bl	_strtoul
	b	LBB0_21
LBB0_19:
	mov	w0, #1
	movk	w0, #32512, lsl #16
	bl	_htonl
	str	w0, [x20, #8]
LBB0_20:
Lloh19:
	adrp	x8, _SYSLOG_PORT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SYSLOG_PORT@GOTPAGEOFF]
	ldrh	w0, [x8]
LBB0_21:
	and	w0, w0, #0xffff
	bl	_htons
	str	x0, [x20]
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.22:
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_23:
Lloh24:
	adrp	x8, ___argv@GOTPAGE
Lloh25:
	ldr	x8, [x8, ___argv@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x1, [x8]
	mov	x0, x21
	bl	_strcpy
	mov	x0, x21
	mov	w1, #92
	bl	_strrchr
	mov	x22, x0
	mov	x0, x21
	mov	w1, #47
	bl	_strrchr
	cmp	x22, x0
	b.hs	LBB0_25
; %bb.24:
	strb	wzr, [x0, #1]
	b	LBB0_28
LBB0_25:
	b.ls	LBB0_27
; %bb.26:
	strb	wzr, [x22, #1]
	b	LBB0_28
LBB0_27:
	strb	wzr, [x21]
LBB0_28:
	ldr	x1, [x23]
	mov	x0, x21
	bl	_strcat
	b	LBB0_4
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_FILENAME_MAX,4,2               ; @FILENAME_MAX
	.comm	_sa_logger,24,3                 ; @sa_logger
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_syslog_conf_dir,8,3            ; @syslog_conf_dir
	.comm	___argv,8,3                     ; @__argv
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"syslog.host"

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

	.comm	_SYSLOG_PORT,2,1                ; @SYSLOG_PORT
	.no_dead_strip	_init_logger_addr
.subsections_via_symbols
