	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_socktoa                        ## -- Begin function socktoa
	.p2align	4, 0x90
_socktoa:                               ## @socktoa
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_socket_errno
	movl	%eax, %r14d
	callq	_LIB_GETBUF
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_AF
	cmpl	$130, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_9
LBB0_5:
	movq	%rbx, %rdi
	callq	_PSOCK_ADDR4
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$130, %edi
	movl	%eax, %esi
	callq	_inet_ntop
	jmp	LBB0_10
LBB0_1:
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_strlcpy
	jmp	LBB0_10
LBB0_6:
	movq	%rbx, %rdi
	callq	_PSOCK_ADDR6
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$129, %edi
	movl	%eax, %esi
	callq	_inet_ntop
	movq	%rbx, %rdi
	callq	_SCOPE_VAR
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movl	%eax, %ebx
	movl	$37, %esi
	callq	_strchr
	testl	%eax, %eax
	jne	LBB0_10
## %bb.8:
	movl	%ebx, %edi
	callq	_socktoa.cold.1
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	callq	_AF
	leaq	L_.str.2(%rip), %rdx
	movl	%r15d, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
                                        ## implicit-def: $rax
                                        ## implicit-def: $eax
                                        ## implicit-def: $ax
                                        ## implicit-def: $ah
                                        ## implicit-def: $al
                                        ## implicit-def: $hax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function socktoa.cold.1
_socktoa.cold.1:                        ## @socktoa.cold.1
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_LIB_GETBUF
	movq	_LIB_BUFLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_snprintf
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(null)"

	.comm	_LIB_BUFLENGTH,4,2              ## @LIB_BUFLENGTH
L_.str.1:                               ## @.str.1
	.asciz	"%s%%%lu"

L_.str.2:                               ## @.str.2
	.asciz	"(socktoa unknown family %d)"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_socktoa                        ; -- Begin function socktoa
	.p2align	2
_socktoa:                               ; @socktoa
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	bl	_socket_errno
	mov	x19, x0
	bl	_LIB_GETBUF
	cbz	x20, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_AF
	cmp	w0, #130
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #129
	b.eq	LBB0_6
; %bb.3:
	cmp	w0, #128
	b.ne	LBB0_9
LBB0_4:
	mov	x0, x20
	bl	_PSOCK_ADDR4
	mov	x1, x0
Lloh0:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w0, #130
	bl	_inet_ntop
	b	LBB0_10
LBB0_5:
Lloh3:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strlcpy
	b	LBB0_10
LBB0_6:
	mov	x0, x20
	bl	_PSOCK_ADDR6
	mov	x1, x0
Lloh8:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	w0, #129
	bl	_inet_ntop
	mov	x0, x20
	bl	_SCOPE_VAR
	cbz	w0, LBB0_10
; %bb.7:
	mov	x20, x0
	mov	w1, #37
	bl	_strchr
	cbnz	w0, LBB0_10
; %bb.8:
	mov	x0, x20
	bl	_socktoa.cold.1
LBB0_9:
Lloh11:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh13:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_AF
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_snprintf
LBB0_10:
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	str	w19, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function socktoa.cold.1
_socktoa.cold.1:                        ; @socktoa.cold.1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_LIB_GETBUF
Lloh19:
	adrp	x8, _LIB_BUFLENGTH@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LIB_BUFLENGTH@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	str	x19, [sp, #8]
Lloh22:
	adrp	x2, l_.str.1@PAGE
Lloh23:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_snprintf
	brk	#0x1
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(null)"

	.comm	_LIB_BUFLENGTH,4,2              ; @LIB_BUFLENGTH
l_.str.1:                               ; @.str.1
	.asciz	"%s%%%lu"

l_.str.2:                               ; @.str.2
	.asciz	"(socktoa unknown family %d)"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
