	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sockaddr_cmp                   ## -- Begin function sockaddr_cmp
	.p2align	4, 0x90
_sockaddr_cmp:                          ## @sockaddr_cmp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$-1, %r12d
	cmpq	%rcx, %rsi
	jl	LBB0_3
## %bb.1:
	jle	LBB0_4
LBB0_2:
	movl	$1, %r12d
	jmp	LBB0_3
LBB0_4:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	sete	%al
	movzbl	%al, %edi
	callq	_log_assert
	movq	(%r15), %rax
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_5
LBB0_3:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	jg	LBB0_2
## %bb.6:
	sete	%al
	movzbl	%al, %edi
	callq	_log_assert
	movq	(%r15), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:
	movq	8(%r15), %rax
	movq	8(%r14), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_3
## %bb.8:
	movl	$1, %r12d
	jg	LBB0_3
## %bb.9:
	sete	%al
	movzbl	%al, %edi
	callq	_log_assert
	addq	$16, %r15
	addq	$16, %r14
	movq	_INET_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_11:
	movq	_AF_INET6@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.12:
	movq	8(%r15), %rax
	movq	8(%r14), %rcx
	cmpq	%rcx, %rax
	jl	LBB0_3
## %bb.13:
	movl	$1, %r12d
	jg	LBB0_3
## %bb.14:
	sete	%al
	movzbl	%al, %edi
	callq	_log_assert
	addq	$16, %r15
	addq	$16, %r14
	movq	_INET6_SIZE@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	jmp	LBB0_16
LBB0_15:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcmp                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_INET_SIZE,8,3                  ## @INET_SIZE
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_INET6_SIZE,8,3                 ## @INET6_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sockaddr_cmp                   ; -- Begin function sockaddr_cmp
	.p2align	2
_sockaddr_cmp:                          ; @sockaddr_cmp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cmp	x1, x3
	b.ge	LBB0_2
LBB0_1:
	mov	w0, #-1
	b	LBB0_4
LBB0_2:
	b.le	LBB0_5
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	cmp	x1, x3
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.lt	LBB0_1
; %bb.6:
	b.gt	LBB0_3
; %bb.7:
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.lt	LBB0_1
; %bb.9:
	b.gt	LBB0_3
; %bb.10:
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	add	x0, x20, #16
	add	x1, x19, #16
Lloh3:
	adrp	x8, _INET_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INET_SIZE@GOTPAGEOFF]
	b	LBB0_15
LBB0_11:
Lloh5:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.12:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.lt	LBB0_1
; %bb.13:
	b.gt	LBB0_3
; %bb.14:
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	add	x0, x20, #16
	add	x1, x19, #16
Lloh8:
	adrp	x8, _INET6_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _INET6_SIZE@GOTPAGEOFF]
LBB0_15:
	ldr	x2, [x8]
	b	LBB0_17
LBB0_16:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_memcmp
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_INET_SIZE,8,3                  ; @INET_SIZE
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_INET6_SIZE,8,3                 ; @INET6_SIZE
.subsections_via_symbols
