	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_init                   ## -- Begin function network_init
	.p2align	4, 0x90
_network_init:                          ## @network_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rcx
	xorl	%edi, %edi
	movq	%rbx, %rdx
	callq	_getaddrinfo
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_debugging@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_8
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movl	%eax, %edi
	callq	_gai_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_8
LBB0_3:
	movl	$4, %edi
	callq	_malloc
	movq	_local_in4@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.7:
	movq	-16(%rbp), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_memcpy
	movq	-16(%rbp), %rdi
	callq	_freeaddrinfo
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_debugging@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sunrpc"

	.comm	_debugging,8,3                  ## @debugging
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"can't get local ip4 address: %s\n"

	.comm	_local_in4,8,3                  ## @local_in4
L_.str.2:                               ## @.str.2
	.asciz	"can't alloc local ip4 addr\n"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_IFF_MULTICAST,4,2              ## @IFF_MULTICAST
	.comm	_IPPROTO_IPV6,4,2               ## @IPPROTO_IPV6
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.comm	_IPV6_JOIN_GROUP,4,2            ## @IPV6_JOIN_GROUP
	.comm	_RPCB_MULTICAST_ADDR,4,2        ## @RPCB_MULTICAST_ADDR
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_local_in6,8,3                  ## @local_in6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_network_init                   ; -- Begin function network_init
	.p2align	2
_network_init:                          ; @network_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, #0
	bl	_getaddrinfo
	cbz	w0, LBB0_3
; %bb.1:
Lloh5:
	adrp	x8, _debugging@GOTPAGE
Lloh6:
	ldr	x8, [x8, _debugging@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
	bl	_gai_strerror
	str	x0, [sp]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	b	LBB0_5
LBB0_3:
	mov	w0, #4
	bl	_malloc
Lloh13:
	adrp	x8, _local_in4@GOTPAGE
Lloh14:
	ldr	x8, [x8, _local_in4@GOTPAGEOFF]
Lloh15:
	str	x0, [x8]
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [sp, #8]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcpy
	ldr	x0, [sp, #8]
	bl	_freeaddrinfo
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh16:
	adrp	x8, _debugging@GOTPAGE
Lloh17:
	ldr	x8, [x8, _debugging@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.7:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_8:
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sunrpc"

	.comm	_debugging,8,3                  ; @debugging
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"can't get local ip4 address: %s\n"

	.comm	_local_in4,8,3                  ; @local_in4
l_.str.2:                               ; @.str.2
	.asciz	"can't alloc local ip4 addr\n"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_IFF_MULTICAST,4,2              ; @IFF_MULTICAST
	.comm	_IPPROTO_IPV6,4,2               ; @IPPROTO_IPV6
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.comm	_IPV6_JOIN_GROUP,4,2            ; @IPV6_JOIN_GROUP
	.comm	_RPCB_MULTICAST_ADDR,4,2        ; @RPCB_MULTICAST_ADDR
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_local_in6,8,3                  ; @local_in6
.subsections_via_symbols
