	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_is_ifa_addr_preferred
_sctp_is_ifa_addr_preferred:            ## @sctp_is_ifa_addr_preferred
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	%rcx, 32(%rdi)
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	leaq	32(%rdi), %r13
	xorl	%r12d, %r12d
	movq	%rdx, %rax
	orq	%rsi, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	sete	%r12b
	movq	_SCTP_DEBUG_OUTPUT2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_SCTPDBG
	movq	_SCTP_DEBUG_OUTPUT2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_SCTPDBG_ADDR
	movq	_SCTP_DEBUG_OUTPUT3@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	24(%rbx), %r8
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_SCTPDBG
	movl	(%r13), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_SCTPDBG
	movq	16(%rbx), %rax
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_17
LBB0_5:
	testq	%r14, %r14
	je	LBB0_8
## %bb.6:
	cmpq	$0, 24(%rbx)
	je	LBB0_8
## %bb.7:
	movl	(%r13), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_8:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.9:
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_11:
	movl	(%r13), %edi
	testq	%rcx, %rcx
	jne	LBB0_15
## %bb.12:
	cmpq	$0, 8(%rbx)
	je	LBB0_15
## %bb.13:
	leaq	L_.str.6(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_15:
	leaq	L_.str.7(%rip), %rsi
LBB0_16:
	xorl	%eax, %eax
	callq	_SCTPDBG
LBB0_17:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_DEBUG_OUTPUT2,4,2         ## @SCTP_DEBUG_OUTPUT2
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Is destination preferred:"

	.comm	_SCTP_DEBUG_OUTPUT3,4,2         ## @SCTP_DEBUG_OUTPUT3
L_.str.1:                               ## @.str.1
	.asciz	"src_loop:%d src_priv:%d src_glob:%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"dest_loop:%d dest_priv:%d dest_glob:%d\n"

L_.str.3:                               ## @.str.3
	.asciz	"NO:4\n"

L_.str.4:                               ## @.str.4
	.asciz	"NO:5\n"

L_.str.5:                               ## @.str.5
	.asciz	"NO:6\n"

L_.str.6:                               ## @.str.6
	.asciz	"NO:7\n"

L_.str.7:                               ## @.str.7
	.asciz	"YES\n"

	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_SCTP_ADDR_IFA_UNUSEABLE,4,2    ## @SCTP_ADDR_IFA_UNUSEABLE
	.no_dead_strip	_sctp_is_ifa_addr_preferred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_is_ifa_addr_preferred
_sctp_is_ifa_addr_preferred:            ; @sctp_is_ifa_addr_preferred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x0
	ldr	x8, [x22, #32]!
	cmp	x8, x3
	b.ne	LBB0_14
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	orr	x23, x2, x1
	cmp	x23, #0
	cset	w24, eq
Lloh0:
	adrp	x25, _SCTP_DEBUG_OUTPUT2@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SCTP_DEBUG_OUTPUT2@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_SCTPDBG
	ldr	w0, [x25]
	mov	x1, x22
	bl	_SCTPDBG_ADDR
Lloh4:
	adrp	x22, _SCTP_DEBUG_OUTPUT3@GOTPAGE
Lloh5:
	ldr	x22, [x22, _SCTP_DEBUG_OUTPUT3@GOTPAGEOFF]
	ldr	w0, [x22]
	ldp	x9, x8, [x19, #8]
	ldr	x10, [x19, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_SCTPDBG
	ldr	w0, [x22]
	stp	x20, x24, [sp, #8]
	str	x21, [sp]
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_SCTPDBG
	ldr	x8, [x19, #16]
	cbz	x20, LBB0_4
; %bb.2:
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w0, [x22]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_4:
	cbz	x20, LBB0_7
; %bb.5:
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_7
; %bb.6:
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.4@PAGE
Lloh13:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_13
LBB0_7:
	cbnz	x23, LBB0_10
; %bb.8:
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w0, [x22]
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_13
LBB0_10:
	ldr	w0, [x22]
	cbnz	x23, LBB0_16
; %bb.11:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_16
; %bb.12:
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_13:
	bl	_SCTPDBG
LBB0_14:
	mov	x19, #0
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
Lloh18:
	adrp	x1, l_.str.7@PAGE
Lloh19:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_SCTPDBG
	b	LBB0_15
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_DEBUG_OUTPUT2,4,2         ; @SCTP_DEBUG_OUTPUT2
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Is destination preferred:"

	.comm	_SCTP_DEBUG_OUTPUT3,4,2         ; @SCTP_DEBUG_OUTPUT3
l_.str.1:                               ; @.str.1
	.asciz	"src_loop:%d src_priv:%d src_glob:%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"dest_loop:%d dest_priv:%d dest_glob:%d\n"

l_.str.3:                               ; @.str.3
	.asciz	"NO:4\n"

l_.str.4:                               ; @.str.4
	.asciz	"NO:5\n"

l_.str.5:                               ; @.str.5
	.asciz	"NO:6\n"

l_.str.6:                               ; @.str.6
	.asciz	"NO:7\n"

l_.str.7:                               ; @.str.7
	.asciz	"YES\n"

	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_SCTP_ADDR_IFA_UNUSEABLE,4,2    ; @SCTP_ADDR_IFA_UNUSEABLE
	.no_dead_strip	_sctp_is_ifa_addr_preferred
.subsections_via_symbols
