	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fake_getnameinfo
_fake_getnameinfo:                      ## @fake_getnameinfo
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movq	%r9, %r13
	movq	%r8, %rbx
	movl	4(%r12), %edi
	callq	_ntohs
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$16, %esi
	movl	%eax, %ecx
	callq	_evutil_snprintf
	movq	%rbx, %rdi
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdx
	callq	_strlcpy
	movq	%rax, %rcx
	movl	$-1, %eax
	cmpq	%r13, %rcx
	jae	LBB0_10
LBB0_2:
	testq	%r15, %r15
	je	LBB0_3
## %bb.4:
	movl	16(%rbp), %eax
	movq	_NI_NUMERICHOST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	movl	(%r12), %edi
	callq	_inet_ntoa
	movq	%rax, %rsi
	jmp	LBB0_9
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_6:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_gethostbyaddr
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%rax), %rsi
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_strlcpy
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%r14, %rcx
	adcl	$-1, %eax
LBB0_10:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$-2, %eax
	jmp	LBB0_10
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_NI_NUMERICHOST,4,2             ## @NI_NUMERICHOST
	.comm	_AF_INET,4,2                    ## @AF_INET
	.no_dead_strip	_fake_getnameinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fake_getnameinfo
_fake_getnameinfo:                      ; @fake_getnameinfo
	.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	x22, x6
	mov	x19, x3
	mov	x20, x2
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cbz	x4, LBB0_2
; %bb.1:
	mov	x23, x5
	mov	x24, x4
	ldr	w0, [x21, #4]
	bl	_ntohs
	mov	x3, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #16
	bl	_evutil_snprintf
	add	x1, sp, #8
	mov	x0, x24
	mov	x2, x23
	bl	_strlcpy
	cmp	x0, x23
	b.hs	LBB0_5
LBB0_2:
	cbz	x20, LBB0_6
; %bb.3:
Lloh5:
	adrp	x8, _NI_NUMERICHOST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NI_NUMERICHOST@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_7
; %bb.4:
	ldr	w0, [x21]
	bl	_inet_ntoa
	mov	x1, x0
	b	LBB0_9
LBB0_5:
	mov	w0, #-1
	b	LBB0_10
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
Lloh8:
	adrp	x8, _AF_INET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #4
	bl	_gethostbyaddr
	cbz	x0, LBB0_12
; %bb.8:
	ldr	x1, [x0]
LBB0_9:
	mov	x0, x20
	mov	x2, x19
	bl	_strlcpy
	cmp	x0, x19
	csetm	w0, hs
LBB0_10:
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.11:
	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
LBB0_12:
	mov	w0, #-2
	b	LBB0_10
LBB0_13:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_NI_NUMERICHOST,4,2             ; @NI_NUMERICHOST
	.comm	_AF_INET,4,2                    ; @AF_INET
	.no_dead_strip	_fake_getnameinfo
.subsections_via_symbols
