	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evutil_sockaddr_is_loopback_   ## -- Begin function evutil_sockaddr_is_loopback_
	.p2align	4, 0x90
_evutil_sockaddr_is_loopback_:          ## @evutil_sockaddr_is_loopback_
	.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), %rdi
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_2
## %bb.1:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ntohl
	andl	$-16777216, %eax                ## imm = 0xFF000000
	cmpl	$2130706432, %eax               ## imm = 0x7F000000
	jmp	LBB0_5
LBB0_2:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_3
## %bb.4:
	leaq	_evutil_sockaddr_is_loopback_.LOOPBACK_S6(%rip), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$16, %edx
	callq	_memcmp
	testl	%eax, %eax
LBB0_5:
	sete	%al
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
LBB0_6:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @evutil_sockaddr_is_loopback_.LOOPBACK_S6
_evutil_sockaddr_is_loopback_.LOOPBACK_S6:
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001"

	.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	_evutil_sockaddr_is_loopback_   ; -- Begin function evutil_sockaddr_is_loopback_
	.p2align	2
_evutil_sockaddr_is_loopback_:          ; @evutil_sockaddr_is_loopback_
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x0, [x0]
Lloh0:
	adrp	x8, _AF_INET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ntohl
	lsr	w8, w0, #24
	cmp	w8, #127
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.3:
Lloh6:
	adrp	x1, _evutil_sockaddr_is_loopback_.LOOPBACK_S6@PAGE
Lloh7:
	add	x1, x1, _evutil_sockaddr_is_loopback_.LOOPBACK_S6@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w2, #16
	bl	_memcmp
	cmp	w0, #0
LBB0_4:
	cset	w0, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_evutil_sockaddr_is_loopback_.LOOPBACK_S6: ; @evutil_sockaddr_is_loopback_.LOOPBACK_S6
	.ascii	"\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\001"

	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
.subsections_via_symbols
