	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SockadrToNetadr
_SockadrToNetadr:                       ## @SockadrToNetadr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	shrq	$32, %rax
	movq	_NA_IP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	movl	%eax, 16(%rbx)
	movl	(%r14), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_4
LBB0_2:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_NA_IP6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movl	8(%rbx), %edi
	leaq	8(%r14), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_NA_IP,4,2                      ## @NA_IP
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_NA_IP6,4,2                     ## @NA_IP6
	.no_dead_strip	_SockadrToNetadr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SockadrToNetadr
_SockadrToNetadr:                       ; @SockadrToNetadr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _NA_IP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NA_IP@GOTPAGEOFF]
	lsr	x8, x8, #32
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #12]
	ldr	w8, [x20]
	str	w8, [x19, #4]
	b	LBB0_4
LBB0_2:
Lloh6:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _NA_IP6@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NA_IP6@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x19, #12]
	ldr	w0, [x19, #8]
	add	x1, x20, #8
	mov	w2, #4
	bl	_memcpy
	ldr	d0, [x20]
	str	d0, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_NA_IP,4,2                      ; @NA_IP
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_NA_IP6,4,2                     ; @NA_IP6
	.no_dead_strip	_SockadrToNetadr
.subsections_via_symbols
