	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_ntop                      ## -- Begin function sock_ntop
	.p2align	4, 0x90
_sock_ntop:                             ## @sock_ntop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rsi
	movl	_sock_ntop.n(%rip), %eax
	incl	%eax
	movq	_NTOP_BUFS@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, _sock_ntop.n(%rip)
	movq	_ntop_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movslq	%edx, %rcx
	movq	(%rdi,%rcx,8), %rdx
	movb	$0, (%rdx)
	movq	(%rsi), %rdi
	movq	_AF_INET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_3
## %bb.1:
	movq	_AF_INET6@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rdi
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %rdx
	movl	$8, %ecx
	popq	%rbp
	jmp	_inet_ntop                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_sock_ntop.n,4,2 ## @sock_ntop.n
	.comm	_NTOP_BUFS,4,2                  ## @NTOP_BUFS
	.comm	_ntop_buf,8,3                   ## @ntop_buf
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sock_ntop                      ; -- Begin function sock_ntop
	.p2align	2
_sock_ntop:                             ; @sock_ntop
	.cfi_startproc
; %bb.0:
	mov	x1, x0
Lloh0:
	adrp	x8, _sock_ntop.n@PAGE
	ldr	w9, [x8, _sock_ntop.n@PAGEOFF]
	add	w9, w9, #1
Lloh1:
	adrp	x10, _NTOP_BUFS@GOTPAGE
Lloh2:
	ldr	x10, [x10, _NTOP_BUFS@GOTPAGEOFF]
Lloh3:
	ldr	w10, [x10]
	sdiv	w11, w9, w10
	msub	w9, w11, w10, w9
	str	w9, [x8, _sock_ntop.n@PAGEOFF]
Lloh4:
	adrp	x8, _ntop_buf@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ntop_buf@GOTPAGEOFF]
	ldr	x10, [x8]
	ldr	x10, [x10, w9, sxtw #3]
	strb	wzr, [x10]
	ldr	x0, [x0]
Lloh6:
	adrp	x10, _AF_INET@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AF_INET@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _AF_INET6@GOTPAGE
Lloh10:
	ldr	x11, [x11, _AF_INET6@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
	cmp	x0, x10
	ccmp	x0, x11, #4, ne
	b.ne	LBB0_2
; %bb.1:
	sxtw	x9, w9
	ldr	x8, [x8]
	ldr	x2, [x8, x9, lsl #3]
	mov	w3, #8
	b	_inet_ntop
LBB0_2:
	mov	x0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh1, Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh4
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_sock_ntop.n,4,2 ; @sock_ntop.n
	.comm	_NTOP_BUFS,4,2                  ; @NTOP_BUFS
	.comm	_ntop_buf,8,3                   ; @ntop_buf
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
.subsections_via_symbols
