	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rpc_sockinfo2netid           ## -- Begin function __rpc_sockinfo2netid
	.p2align	4, 0x90
___rpc_sockinfo2netid:                  ## @__rpc_sockinfo2netid
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_getnetconfigent
	movq	%rax, %r15
	movq	_na_cvt@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	(%rbx), %rcx
	cmpq	%rcx, (%rax)
	jne	LBB0_11
## %bb.1:
	movq	8(%rax), %rdx
	cmpq	8(%rbx), %rdx
	jne	LBB0_11
## %bb.2:
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_11:
	cmpq	%rcx, 24(%rax)
	jne	LBB0_13
## %bb.12:
	movq	32(%rax), %rdx
	movl	$1, %ecx
	cmpq	8(%rbx), %rdx
	jne	LBB0_13
LBB0_3:
	leaq	(%rcx,%rcx,2), %rbx
	movq	16(%rax,%rbx,8), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	testq	%r15, %r15
	jne	LBB0_7
## %bb.5:
	testq	%r14, %r14
	je	LBB0_10
## %bb.6:
	leaq	L_.str.1(%rip), %rax
	jmp	LBB0_9
LBB0_13:
	xorl	%ebx, %ebx
	testq	%r15, %r15
	je	LBB0_16
LBB0_15:
	movq	%r15, %rdi
	callq	_freenetconfigent
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testq	%r14, %r14
	je	LBB0_10
## %bb.8:
	movq	(%r12), %rax
	movq	16(%rax,%rbx,8), %rax
LBB0_9:
	movq	%rax, (%r14)
LBB0_10:
	movl	$1, %ebx
	testq	%r15, %r15
	jne	LBB0_15
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"local"

	.comm	_na_cvt,8,3                     ## @na_cvt
L_.str.1:                               ## @.str.1
	.asciz	"unix"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rpc_sockinfo2netid           ; -- Begin function __rpc_sockinfo2netid
	.p2align	2
___rpc_sockinfo2netid:                  ; @__rpc_sockinfo2netid
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getnetconfigent
	mov	x19, x0
Lloh2:
	adrp	x22, _na_cvt@GOTPAGE
Lloh3:
	ldr	x22, [x22, _na_cvt@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x21]
	ldr	x10, [x8]
	cmp	x10, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x10, [x8, #8]
	ldr	x11, [x21, #8]
	cmp	x10, x11
	b.ne	LBB0_3
; %bb.2:
	mov	x21, #0
	b	LBB0_6
LBB0_3:
	ldr	x10, [x8, #24]
	cmp	x10, x9
	b.ne	LBB0_9
; %bb.4:
	ldr	x9, [x8, #32]
	ldr	x10, [x21, #8]
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.5:
	mov	w21, #1
LBB0_6:
	mov	w9, #24
	madd	x8, x21, x9, x8
	ldr	x0, [x8, #16]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	ccmp	x19, #0, #0, eq
	b.eq	LBB0_12
; %bb.7:
	cbz	x20, LBB0_15
; %bb.8:
	ldr	x8, [x22]
	mov	w9, #24
	madd	x8, x21, x9, x8
	ldr	x8, [x8, #16]
	b	LBB0_14
LBB0_9:
	mov	w20, #0
	cbz	x19, LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_freenetconfigent
LBB0_11:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	cbz	x20, LBB0_15
; %bb.13:
Lloh6:
	adrp	x8, l_.str.1@PAGE
Lloh7:
	add	x8, x8, l_.str.1@PAGEOFF
LBB0_14:
	str	x8, [x20]
LBB0_15:
	mov	w20, #1
	cbnz	x19, LBB0_10
	b	LBB0_11
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"local"

	.comm	_na_cvt,8,3                     ; @na_cvt
l_.str.1:                               ; @.str.1
	.asciz	"unix"

.subsections_via_symbols
