	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_logger_init                    ## -- Begin function logger_init
	.p2align	4, 0x90
_logger_init:                           ## @logger_init
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_PC_DEVELOPMENT_IP_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_PC_DEVELOPMENT_UDP_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_network_init
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_SOCKET_DOMAIN_INET@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_SOCKET_TYPE_DATAGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SOCKET_PROTOCOL_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str.1(%rip), %rdi
	callq	_socket_create
	movq	_g_sid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	%ebx, -48(%rbp)
	movq	%r14, -40(%rbp)
	movl	(%r15), %eax
	movl	%eax, -32(%rbp)
	movq	_target@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %rsi
	callq	_socket_set_target
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_str(%rip), %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PC_DEVELOPMENT_IP_ADDRESS,8,3  ## @PC_DEVELOPMENT_IP_ADDRESS
	.comm	_PC_DEVELOPMENT_UDP_PORT,4,2    ## @PC_DEVELOPMENT_UDP_PORT
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"ra_netlogger"

	.comm	_SOCKET_DOMAIN_INET,4,2         ## @SOCKET_DOMAIN_INET
	.comm	_SOCKET_TYPE_DATAGRAM,4,2       ## @SOCKET_TYPE_DATAGRAM
	.comm	_SOCKET_PROTOCOL_NONE,4,2       ## @SOCKET_PROTOCOL_NONE
	.comm	_g_sid,4,2                      ## @g_sid
	.comm	_target,4,2                     ## @target
L_str:                                  ## @str
	.asciz	"Could not initialize network logger interface."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_logger_init                    ; -- Begin function logger_init
	.p2align	2
_logger_init:                           ; @logger_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, _PC_DEVELOPMENT_IP_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PC_DEVELOPMENT_IP_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _PC_DEVELOPMENT_UDP_PORT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PC_DEVELOPMENT_UDP_PORT@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	bl	_network_init
	cbz	w0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x21, _SOCKET_DOMAIN_INET@GOTPAGE
Lloh7:
	ldr	x21, [x21, _SOCKET_DOMAIN_INET@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh8:
	adrp	x8, _SOCKET_TYPE_DATAGRAM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SOCKET_TYPE_DATAGRAM@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _SOCKET_PROTOCOL_NONE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SOCKET_PROTOCOL_NONE@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_socket_create
Lloh16:
	adrp	x8, _g_sid@GOTPAGE
Lloh17:
	ldr	x8, [x8, _g_sid@GOTPAGEOFF]
Lloh18:
	str	w0, [x8]
	str	w20, [sp, #8]
	str	x19, [sp, #16]
	ldr	w8, [x21]
	str	w8, [sp, #24]
Lloh19:
	adrp	x0, _target@GOTPAGE
Lloh20:
	ldr	x0, [x0, _target@GOTPAGEOFF]
	add	x1, sp, #8
	bl	_socket_set_target
	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
	add	sp, sp, #80
	ret
LBB0_2:
Lloh21:
	adrp	x0, l_str@PAGE
Lloh22:
	add	x0, x0, l_str@PAGEOFF
	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
	add	sp, sp, #80
	b	_puts
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_PC_DEVELOPMENT_IP_ADDRESS,8,3  ; @PC_DEVELOPMENT_IP_ADDRESS
	.comm	_PC_DEVELOPMENT_UDP_PORT,4,2    ; @PC_DEVELOPMENT_UDP_PORT
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"ra_netlogger"

	.comm	_SOCKET_DOMAIN_INET,4,2         ; @SOCKET_DOMAIN_INET
	.comm	_SOCKET_TYPE_DATAGRAM,4,2       ; @SOCKET_TYPE_DATAGRAM
	.comm	_SOCKET_PROTOCOL_NONE,4,2       ; @SOCKET_PROTOCOL_NONE
	.comm	_g_sid,4,2                      ; @g_sid
	.comm	_target,4,2                     ; @target
l_str:                                  ; @str
	.asciz	"Could not initialize network logger interface."

.subsections_via_symbols
