	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rpc_nconf2fd                 ## -- Begin function __rpc_nconf2fd
	.p2align	4, 0x90
___rpc_nconf2fd:                        ## @__rpc_nconf2fd
	.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), %rsi
	callq	___rpc_nconf2sockinfo
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	-32(%rbp), %rdi
	movl	-20(%rbp), %esi
	movl	-24(%rbp), %edx
	callq	_socket
	movl	%eax, %ebx
	movq	_INVALID_SOCKET@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_5
## %bb.3:
	movq	-32(%rbp), %rax
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movl	$1, -12(%rbp)
	movq	_SOL_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPV6_V6ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rcx
	movl	%ebx, %edi
	movl	$4, %r8d
	callq	_setsockopt
	jmp	LBB0_5
LBB0_1:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVALID_SOCKET,4,2             ## @INVALID_SOCKET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_SOL_IPV6,4,2                   ## @SOL_IPV6
	.comm	_IPV6_V6ONLY,4,2                ## @IPV6_V6ONLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rpc_nconf2fd                 ; -- Begin function __rpc_nconf2fd
	.p2align	2
___rpc_nconf2fd:                        ; @__rpc_nconf2fd
	.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	x1, sp, #16
	bl	___rpc_nconf2sockinfo
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x0, [sp, #16]
	ldp	w2, w1, [sp, #24]
	bl	_socket
	mov	x19, x0
Lloh0:
	adrp	x8, _INVALID_SOCKET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INVALID_SOCKET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [sp, #16]
Lloh3:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	w8, #1
	str	w8, [sp, #12]
Lloh6:
	adrp	x8, _SOL_IPV6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOL_IPV6@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _IPV6_V6ONLY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IPV6_V6ONLY@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x19
	mov	w4, #4
	bl	_setsockopt
	b	LBB0_5
LBB0_4:
	mov	w19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INVALID_SOCKET,4,2             ; @INVALID_SOCKET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_SOL_IPV6,4,2                   ; @SOL_IPV6
	.comm	_IPV6_V6ONLY,4,2                ; @IPV6_V6ONLY
.subsections_via_symbols
