	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ctnetlink_parse_tuple
_ctnetlink_parse_tuple:                 ## @ctnetlink_parse_tuple
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CTA_TUPLE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_CTA_TUPLE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %eax
	movq	(%r14,%rax,8), %rdx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_nla_parse_nested
	movq	_CTA_TUPLE_IP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%r15)
	movq	%r15, %rsi
	callq	_ctnetlink_parse_tuple_ip
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:
	movq	_CTA_TUPLE_PROTO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	movq	%r15, %rsi
	callq	_ctnetlink_parse_tuple_proto
	testl	%eax, %eax
	js	LBB0_7
## %bb.4:
	movq	_CTA_TUPLE_REPLY@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_10
## %bb.5:
	movq	_IP_CT_DIR_REPLY@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_7:
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_12
LBB0_10:
	movq	_IP_CT_DIR_ORIGINAL@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	movl	%eax, (%r15)
	xorl	%ebx, %ebx
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTA_TUPLE_MAX,4,2              ## @CTA_TUPLE_MAX
	.comm	_CTA_TUPLE_IP,8,3               ## @CTA_TUPLE_IP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CTA_TUPLE_PROTO,8,3            ## @CTA_TUPLE_PROTO
	.comm	_CTA_TUPLE_REPLY,4,2            ## @CTA_TUPLE_REPLY
	.comm	_IP_CT_DIR_REPLY,4,2            ## @IP_CT_DIR_REPLY
	.comm	_IP_CT_DIR_ORIGINAL,4,2         ## @IP_CT_DIR_ORIGINAL
	.no_dead_strip	_ctnetlink_parse_tuple
.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
_ctnetlink_parse_tuple:                 ; @ctnetlink_parse_tuple
	.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	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x23, 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_TUPLE_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _CTA_TUPLE_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	add	w8, w8, #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	x22, x9, x8
	mov	sp, x22
	mov	x0, x1
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w1, [x24]
	ldr	x2, [x23, w20, uxtw #3]
	mov	x0, x22
	mov	x3, #0
	bl	_nla_parse_nested
Lloh7:
	adrp	x8, _CTA_TUPLE_IP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CTA_TUPLE_IP@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_6
; %bb.1:
	str	w21, [x19, #4]
	mov	x1, x19
	bl	_ctnetlink_parse_tuple_ip
	tbnz	w0, #31, LBB0_9
; %bb.2:
Lloh10:
	adrp	x8, _CTA_TUPLE_PROTO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CTA_TUPLE_PROTO@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x0, [x22, x8, lsl #3]
	cbz	x0, LBB0_6
; %bb.3:
	mov	x1, x19
	bl	_ctnetlink_parse_tuple_proto
	tbnz	w0, #31, LBB0_9
; %bb.4:
Lloh13:
	adrp	x8, _CTA_TUPLE_REPLY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CTA_TUPLE_REPLY@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_7
; %bb.5:
	mov	w0, #0
Lloh16:
	adrp	x8, _IP_CT_DIR_REPLY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IP_CT_DIR_REPLY@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_7:
	mov	w0, #0
Lloh21:
	adrp	x8, _IP_CT_DIR_ORIGINAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IP_CT_DIR_ORIGINAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	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_11:
	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 AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_CTA_TUPLE_MAX,4,2              ; @CTA_TUPLE_MAX
	.comm	_CTA_TUPLE_IP,8,3               ; @CTA_TUPLE_IP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CTA_TUPLE_PROTO,8,3            ; @CTA_TUPLE_PROTO
	.comm	_CTA_TUPLE_REPLY,4,2            ; @CTA_TUPLE_REPLY
	.comm	_IP_CT_DIR_REPLY,4,2            ; @IP_CT_DIR_REPLY
	.comm	_IP_CT_DIR_ORIGINAL,4,2         ; @IP_CT_DIR_ORIGINAL
	.no_dead_strip	_ctnetlink_parse_tuple
.subsections_via_symbols
