	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svc_one_sock_name
_svc_one_sock_name:                     ## @svc_one_sock_name
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	(%rbx), %rax
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %r12
	cmoveq	%rax, %r12
	movl	8(%rbx), %ecx
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ecx
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_inet_sk
	leaq	4(%rax), %r13
	movq	%rbx, %rdi
	callq	_inet_sk
	movl	(%rax), %r9d
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	callq	_inet6_sk
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_inet_sk
	movl	(%rax), %r9d
	leaq	L_.str.3(%rip), %rdx
LBB0_3:
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%r12, %rcx
	movq	%r13, %r8
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	%r15d, %eax
	jl	LBB0_8
LBB0_7:
	movb	$0, (%r14)
	movq	_ENAMETOOLONG@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_snprintf
	cmpl	%r15d, %eax
	jge	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"udp"

L_.str.1:                               ## @.str.1
	.asciz	"tcp"

L_.str.2:                               ## @.str.2
	.asciz	"ipv4 %s %pI4 %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"ipv6 %s %pI6 %d\n"

L_.str.4:                               ## @.str.4
	.asciz	"*unknown-%d*\n"

	.comm	_ENAMETOOLONG,4,2               ## @ENAMETOOLONG
	.no_dead_strip	_svc_one_sock_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svc_one_sock_name
_svc_one_sock_name:                     ; @svc_one_sock_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	ldr	x21, [x0]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, l_.str.1@PAGE
Lloh4:
	add	x10, x10, l_.str.1@PAGEOFF
Lloh5:
	adrp	x11, l_.str@PAGE
Lloh6:
	add	x11, x11, l_.str@PAGEOFF
	cmp	x8, x9
	csel	x23, x11, x10, eq
	ldr	w8, [x21, #8]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x21
	bl	_inet_sk
	add	x22, x0, #4
	mov	x0, x21
	bl	_inet_sk
	ldr	w8, [x0]
	stp	x22, x8, [sp, #8]
	str	x23, [sp]
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:
	mov	x0, x21
	bl	_inet6_sk
	mov	x22, x0
	mov	x0, x21
	bl	_inet_sk
	ldr	w8, [x0]
	stp	x22, x8, [sp, #8]
	str	x23, [sp]
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
	str	x8, [sp]
Lloh11:
	adrp	x2, l_.str.4@PAGE
Lloh12:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_snprintf
	cmp	w0, w20
	b.lt	LBB0_7
; %bb.6:
	strb	wzr, [x19]
Lloh13:
	adrp	x8, _ENAMETOOLONG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENAMETOOLONG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"udp"

l_.str.1:                               ; @.str.1
	.asciz	"tcp"

l_.str.2:                               ; @.str.2
	.asciz	"ipv4 %s %pI4 %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"ipv6 %s %pI6 %d\n"

l_.str.4:                               ; @.str.4
	.asciz	"*unknown-%d*\n"

	.comm	_ENAMETOOLONG,4,2               ; @ENAMETOOLONG
	.no_dead_strip	_svc_one_sock_name
.subsections_via_symbols
