	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_opt_info                  ## -- Begin function sctp_opt_info
	.p2align	4, 0x90
_sctp_opt_info:                         ## @sctp_opt_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.1:
	movq	_SCTP_CURRENT_ASSOC@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_6
## %bb.2:
	movq	_SCTP_ALL_ASSOC@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_6
## %bb.3:
	movl	%edx, %eax
	andl	$-32, %eax
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rsi, (%rcx)
LBB0_5:
	movq	_IPPROTO_SCTP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_getsockopt                     ## TAILCALL
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_SCTP_CURRENT_ASSOC,8,3         ## @SCTP_CURRENT_ASSOC
	.comm	_SCTP_ALL_ASSOC,8,3             ## @SCTP_ALL_ASSOC
	.comm	_IPPROTO_SCTP,4,2               ## @IPPROTO_SCTP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_opt_info                  ; -- Begin function sctp_opt_info
	.p2align	2
_sctp_opt_info:                         ; @sctp_opt_info
	.cfi_startproc
; %bb.0:
	cbz	x3, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _SCTP_CURRENT_ASSOC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_CURRENT_ASSOC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _SCTP_ALL_ASSOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCTP_ALL_ASSOC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #4, ne
	b.ne	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w0, #-1
	ret
LBB0_3:
	and	w8, w2, #0xffffffe0
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
	str	x1, [x3]
LBB0_5:
Lloh12:
	adrp	x8, _IPPROTO_SCTP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPPROTO_SCTP@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	b	_getsockopt
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_SCTP_CURRENT_ASSOC,8,3         ; @SCTP_CURRENT_ASSOC
	.comm	_SCTP_ALL_ASSOC,8,3             ; @SCTP_ALL_ASSOC
	.comm	_IPPROTO_SCTP,4,2               ; @IPPROTO_SCTP
.subsections_via_symbols
