	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compare_socket_address
_compare_socket_address:                ## @compare_socket_address
	.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
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	cmpq	(%rsi), %rdi
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	movq	_AF_INET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_9
## %bb.3:
	shrq	$32, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ntohl
	movq	%rax, %rbx
	movl	4(%r14), %edi
	callq	_ntohl
	cmpq	%rax, %rbx
	jne	LBB0_4
## %bb.5:
	movl	(%r15), %edi
	callq	_ntohs
	movq	%rax, %r12
	movl	(%r14), %edi
	callq	_ntohs
	xorl	%ebx, %ebx
	cmpq	%rax, %r12
	je	LBB0_17
## %bb.6:
	movl	(%r15), %edi
	callq	_ntohs
	movq	%rax, %rbx
	movl	(%r14), %edi
	jmp	LBB0_7
LBB0_9:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_15
## %bb.10:
	movl	20(%r15), %edi
	movl	20(%r14), %esi
	movl	$4, %edx
	callq	_memcmp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_17
## %bb.11:
	movl	16(%r15), %edi
	callq	_ntohs
	movq	%rax, %rbx
	movl	16(%r14), %edi
	callq	_ntohs
	cmpq	%rax, %rbx
	jne	LBB0_12
## %bb.13:
	movq	(%r14), %rax
	cmpq	%rax, (%r15)
	jne	LBB0_1
## %bb.14:
	movq	8(%r14), %rax
	xorl	%ebx, %ebx
	cmpq	%rax, 8(%r15)
	je	LBB0_17
LBB0_1:
	setge	%al
	movzbl	%al, %eax
	leal	(%rax,%rax), %ebx
	decl	%ebx
	jmp	LBB0_17
LBB0_4:
	movl	4(%r15), %edi
	callq	_ntohl
	movq	%rax, %rbx
	movl	4(%r14), %edi
	callq	_ntohl
	jmp	LBB0_8
LBB0_15:
	movq	_AF_UNSPEC@GOTPCREL(%rip), %rax
	movl	$1, %ebx
	cmpq	(%rax), %rdi
	je	LBB0_17
## %bb.16:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_17
LBB0_12:
	movl	16(%r15), %edi
	callq	_ntohs
	movq	%rax, %rbx
	movl	16(%r14), %edi
LBB0_7:
	callq	_ntohs
LBB0_8:
	xorl	%ecx, %ecx
	cmpq	%rax, %rbx
	setge	%cl
	leal	(%rcx,%rcx), %ebx
	decl	%ebx
LBB0_17:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AF_UNSPEC,8,3                  ## @AF_UNSPEC
	.no_dead_strip	_compare_socket_address
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compare_socket_address
_compare_socket_address:                ; @compare_socket_address
	.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
	ldr	x8, [x0]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	lsr	x0, x8, #32
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ntohl
	mov	x21, x0
	ldr	w0, [x19, #4]
	bl	_ntohl
	cmp	x21, x0
	b.ne	LBB0_10
; %bb.3:
	ldr	w0, [x20]
	bl	_ntohs
	mov	x21, x0
	ldr	w0, [x19]
	bl	_ntohs
	cmp	x21, x0
	b.eq	LBB0_14
; %bb.4:
	ldr	w0, [x20]
	bl	_ntohs
	mov	x20, x0
	ldr	w0, [x19]
	b	LBB0_16
LBB0_5:
Lloh3:
	adrp	x9, _AF_INET6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AF_INET6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
	ldr	w0, [x20, #20]
	ldr	w1, [x19, #20]
	mov	w2, #4
	bl	_memcmp
	cbnz	w0, LBB0_19
; %bb.7:
	ldr	w0, [x20, #16]
	bl	_ntohs
	mov	x21, x0
	ldr	w0, [x19, #16]
	bl	_ntohs
	cmp	x21, x0
	b.ne	LBB0_15
; %bb.8:
	ldr	x8, [x20]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_18
; %bb.9:
	ldr	x8, [x20, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	mov	w8, #-1
	cneg	w8, w8, ge
	csel	w0, wzr, w8, eq
	b	LBB0_19
LBB0_10:
	ldr	w0, [x20, #4]
	bl	_ntohl
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_ntohl
	b	LBB0_17
LBB0_11:
Lloh6:
	adrp	x9, _AF_UNSPEC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AF_UNSPEC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #1
	b	LBB0_19
LBB0_13:
	mov	w0, #0
	bl	_assert
LBB0_14:
	mov	w0, #0
	b	LBB0_19
LBB0_15:
	ldr	w0, [x20, #16]
	bl	_ntohs
	mov	x20, x0
	ldr	w0, [x19, #16]
LBB0_16:
	bl	_ntohs
LBB0_17:
	cmp	x20, x0
LBB0_18:
	mov	w8, #-1
	cneg	w0, w8, ge
LBB0_19:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AF_UNSPEC,8,3                  ; @AF_UNSPEC
	.no_dead_strip	_compare_socket_address
.subsections_via_symbols
