	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctnetlink_parse_tuple_proto
_ctnetlink_parse_tuple_proto:           ## @ctnetlink_parse_tuple_proto
	.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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CTA_PROTO_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_proto_nla_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_nla_parse_nested
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_7
## %bb.1:
	movq	_CTA_PROTO_NUM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	callq	_nla_get_u8
	movl	%eax, (%r14)
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r14), %esi
	movl	4(%r14), %edi
	callq	___nf_ct_l4proto_find
	movq	%rax, %r13
	movq	(%rax), %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	_CTA_PROTO_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r13), %edx
	movq	%r15, %rdi
	callq	_nla_validate_nested
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	*(%r13)
	movl	%eax, %ebx
LBB0_6:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	jmp	LBB0_7
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTA_PROTO_MAX,4,2              ## @CTA_PROTO_MAX
	.comm	_proto_nla_policy,4,2           ## @proto_nla_policy
	.comm	_CTA_PROTO_NUM,8,3              ## @CTA_PROTO_NUM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_ctnetlink_parse_tuple_proto
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ctnetlink_parse_tuple_proto
_ctnetlink_parse_tuple_proto:           ; @ctnetlink_parse_tuple_proto
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x24, _CTA_PROTO_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CTA_PROTO_MAX@GOTPAGEOFF]
	ldr	w1, [x24]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
Lloh7:
	adrp	x8, _proto_nla_policy@GOTPAGE
Lloh8:
	ldr	x8, [x8, _proto_nla_policy@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x20
	bl	_nla_parse_nested
	mov	x22, x0
	tbnz	w0, #31, LBB0_7
; %bb.1:
Lloh10:
	adrp	x8, _CTA_PROTO_NUM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CTA_PROTO_NUM@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_6
; %bb.2:
	bl	_nla_get_u8
	str	w0, [x19]
	bl	_rcu_read_lock
	ldp	w1, w0, [x19]
	bl	___nf_ct_l4proto_find
	mov	x23, x0
	ldr	x0, [x0]
	bl	_likely
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w1, [x24]
	ldr	w2, [x23, #8]
	mov	x0, x20
	bl	_nla_validate_nested
	mov	x22, x0
	cbnz	w0, LBB0_5
; %bb.4:
	ldr	x8, [x23]
	mov	x0, x21
	mov	x1, x19
	blr	x8
	mov	x22, x0
LBB0_5:
	bl	_rcu_read_unlock
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x22
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_CTA_PROTO_MAX,4,2              ; @CTA_PROTO_MAX
	.comm	_proto_nla_policy,4,2           ; @proto_nla_policy
	.comm	_CTA_PROTO_NUM,8,3              ; @CTA_PROTO_NUM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_ctnetlink_parse_tuple_proto
.subsections_via_symbols
