	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_mt_check
_sctp_mt_check:                         ## @sctp_mt_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movl	(%rcx), %edx
	movq	_XT_SCTP_VALID_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	xorl	%eax, %eax
	testl	%esi, %edx
	je	LBB0_1
LBB0_6:
	popq	%rbp
	retq
LBB0_1:
	movl	4(%rcx), %edi
	testl	%esi, %edi
	jne	LBB0_6
## %bb.2:
	movl	%edx, %esi
	notl	%esi
	testl	%esi, %edi
	jne	LBB0_6
## %bb.3:
	movq	_XT_SCTP_CHUNK_TYPES@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_4
## %bb.5:
	movq	_SCTP_CHUNK_MATCH_ALL@GOTPCREL(%rip), %rax
	movq	_SCTP_CHUNK_MATCH_ANY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	movq	_SCTP_CHUNK_MATCH_ONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, 8(%rcx)
	setne	%al
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XT_SCTP_VALID_FLAGS,4,2        ## @XT_SCTP_VALID_FLAGS
	.comm	_XT_SCTP_CHUNK_TYPES,4,2        ## @XT_SCTP_CHUNK_TYPES
	.comm	_SCTP_CHUNK_MATCH_ALL,4,2       ## @SCTP_CHUNK_MATCH_ALL
	.comm	_SCTP_CHUNK_MATCH_ANY,4,2       ## @SCTP_CHUNK_MATCH_ANY
	.comm	_SCTP_CHUNK_MATCH_ONLY,4,2      ## @SCTP_CHUNK_MATCH_ONLY
	.no_dead_strip	_sctp_mt_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_mt_check
_sctp_mt_check:                         ; @sctp_mt_check
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _XT_SCTP_VALID_FLAGS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _XT_SCTP_VALID_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	bics	wzr, w9, w10
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	mvn	w11, w10
	ldr	w10, [x8, #4]
	tst	w10, w11
	b.eq	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	bics	wzr, w10, w9
	b.eq	LBB0_6
; %bb.5:
	mov	w0, #0
	ret
LBB0_6:
Lloh3:
	adrp	x10, _XT_SCTP_CHUNK_TYPES@GOTPAGE
Lloh4:
	ldr	x10, [x10, _XT_SCTP_CHUNK_TYPES@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:
Lloh6:
	adrp	x9, _SCTP_CHUNK_MATCH_ALL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SCTP_CHUNK_MATCH_ALL@GOTPAGEOFF]
	ldr	w8, [x8, #8]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _SCTP_CHUNK_MATCH_ANY@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SCTP_CHUNK_MATCH_ANY@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _SCTP_CHUNK_MATCH_ONLY@GOTPAGE
Lloh13:
	ldr	x10, [x10, _SCTP_CHUNK_MATCH_ONLY@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	cset	w0, ne
	ret
LBB0_8:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_XT_SCTP_VALID_FLAGS,4,2        ; @XT_SCTP_VALID_FLAGS
	.comm	_XT_SCTP_CHUNK_TYPES,4,2        ; @XT_SCTP_CHUNK_TYPES
	.comm	_SCTP_CHUNK_MATCH_ALL,4,2       ; @SCTP_CHUNK_MATCH_ALL
	.comm	_SCTP_CHUNK_MATCH_ANY,4,2       ; @SCTP_CHUNK_MATCH_ANY
	.comm	_SCTP_CHUNK_MATCH_ONLY,4,2      ; @SCTP_CHUNK_MATCH_ONLY
	.no_dead_strip	_sctp_mt_check
.subsections_via_symbols
