	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_assoc_set_bind_addr_from_ep ## -- Begin function sctp_assoc_set_bind_addr_from_ep
	.p2align	4, 0x90
_sctp_assoc_set_bind_addr_from_ep:      ## @sctp_assoc_set_bind_addr_from_ep
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	_PF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%rdi), %rsi
	xorl	%r9d, %r9d
	movl	$0, %r8d
	cmpq	(%rsi), %rax
	jne	LBB0_2
## %bb.1:
	movq	_SCTP_ADDR6_ALLOWED@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
LBB0_2:
	cmpq	$0, 32(%rdi)
	movl	$0, %eax
	je	LBB0_4
## %bb.3:
	movq	_SCTP_ADDR4_PEERSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	leaq	8(%rdi), %r10
	movq	(%rdi), %rsi
	cmpq	$0, 24(%rdi)
	je	LBB0_6
## %bb.5:
	movq	_SCTP_ADDR6_PEERSUPP@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
LBB0_6:
	orl	%r9d, %eax
	orl	%eax, %r8d
	movq	%r10, %rdi
	popq	%rbp
	jmp	_sctp_bind_addr_copy            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_INET6,8,3                   ## @PF_INET6
	.comm	_SCTP_ADDR6_ALLOWED,4,2         ## @SCTP_ADDR6_ALLOWED
	.comm	_SCTP_ADDR4_PEERSUPP,4,2        ## @SCTP_ADDR4_PEERSUPP
	.comm	_SCTP_ADDR6_PEERSUPP,4,2        ## @SCTP_ADDR6_PEERSUPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_assoc_set_bind_addr_from_ep ; -- Begin function sctp_assoc_set_bind_addr_from_ep
	.p2align	2
_sctp_assoc_set_bind_addr_from_ep:      ; @sctp_assoc_set_bind_addr_from_ep
	.cfi_startproc
; %bb.0:
	mov	x3, x2
	mov	x2, x1
Lloh0:
	adrp	x8, _PF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	add	x8, x0, #8
	ldp	x10, x11, [x0, #16]
	ldr	x10, [x10]
	cmp	x9, x10
Lloh3:
	adrp	x9, _SCTP_ADDR6_ALLOWED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCTP_ADDR6_ALLOWED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	csel	w9, w9, wzr, eq
	ldr	x10, [x0, #32]
	cmp	x10, #0
Lloh6:
	adrp	x10, _SCTP_ADDR4_PEERSUPP@GOTPAGE
Lloh7:
	ldr	x10, [x10, _SCTP_ADDR4_PEERSUPP@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	csel	w10, wzr, w10, eq
	orr	w9, w10, w9
Lloh9:
	adrp	x10, _SCTP_ADDR6_PEERSUPP@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SCTP_ADDR6_PEERSUPP@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	x11, #0
	csel	w10, wzr, w10, eq
	orr	w4, w9, w10
	ldr	x1, [x0]
	mov	x0, x8
	b	_sctp_bind_addr_copy
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_INET6,8,3                   ; @PF_INET6
	.comm	_SCTP_ADDR6_ALLOWED,4,2         ; @SCTP_ADDR6_ALLOWED
	.comm	_SCTP_ADDR4_PEERSUPP,4,2        ; @SCTP_ADDR4_PEERSUPP
	.comm	_SCTP_ADDR6_PEERSUPP,4,2        ; @SCTP_ADDR6_PEERSUPP
.subsections_via_symbols
