	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipgre_netlink_parms
_ipgre_netlink_parms:                   ## @ipgre_netlink_parms
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_memset
	movq	_IPPROTO_GRE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	testq	%rbx, %rbx
	je	LBB0_22
## %bb.1:
	movq	_IFLA_GRE_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_nla_get_u32
	movl	%eax, 80(%r14)
LBB0_3:
	movq	_IFLA_GRE_IFLAGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_nla_get_be16
	movl	%eax, %edi
	callq	_gre_flags_to_tnl_flags
	movq	%rax, 72(%r14)
LBB0_5:
	movq	_IFLA_GRE_OFLAGS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_nla_get_be16
	movl	%eax, %edi
	callq	_gre_flags_to_tnl_flags
	movq	%rax, 64(%r14)
LBB0_7:
	movq	_IFLA_GRE_IKEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.8:
	callq	_nla_get_be32
	movq	%rax, 56(%r14)
LBB0_9:
	movq	_IFLA_GRE_OKEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.10:
	callq	_nla_get_be32
	movq	%rax, 48(%r14)
LBB0_11:
	movq	_IFLA_GRE_LOCAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.12:
	callq	_nla_get_be32
	movq	%rax, 32(%r14)
LBB0_13:
	movq	_IFLA_GRE_REMOTE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.14:
	callq	_nla_get_be32
	movq	%rax, 24(%r14)
LBB0_15:
	movq	_IFLA_GRE_TTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.16:
	callq	_nla_get_u8
	movq	%rax, 16(%r14)
LBB0_17:
	movq	_IFLA_GRE_TOS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_nla_get_u8
	movq	%rax, 8(%r14)
LBB0_19:
	movq	_IFLA_GRE_PMTUDISC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_nla_get_u8
	testq	%rax, %rax
	je	LBB0_22
LBB0_21:
	movq	_IP_DF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%r14)
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_GRE,4,2                ## @IPPROTO_GRE
	.comm	_IFLA_GRE_LINK,8,3              ## @IFLA_GRE_LINK
	.comm	_IFLA_GRE_IFLAGS,8,3            ## @IFLA_GRE_IFLAGS
	.comm	_IFLA_GRE_OFLAGS,8,3            ## @IFLA_GRE_OFLAGS
	.comm	_IFLA_GRE_IKEY,8,3              ## @IFLA_GRE_IKEY
	.comm	_IFLA_GRE_OKEY,8,3              ## @IFLA_GRE_OKEY
	.comm	_IFLA_GRE_LOCAL,8,3             ## @IFLA_GRE_LOCAL
	.comm	_IFLA_GRE_REMOTE,8,3            ## @IFLA_GRE_REMOTE
	.comm	_IFLA_GRE_TTL,8,3               ## @IFLA_GRE_TTL
	.comm	_IFLA_GRE_TOS,8,3               ## @IFLA_GRE_TOS
	.comm	_IFLA_GRE_PMTUDISC,8,3          ## @IFLA_GRE_PMTUDISC
	.comm	_IP_DF,4,2                      ## @IP_DF
	.no_dead_strip	_ipgre_netlink_parms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipgre_netlink_parms
_ipgre_netlink_parms:                   ; @ipgre_netlink_parms
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	mov	x20, x0
	mov	x0, x2
	mov	w1, #0
	mov	w2, #88
	bl	_memset
Lloh0:
	adrp	x8, _IPPROTO_GRE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPPROTO_GRE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	cbz	x20, LBB0_22
; %bb.1:
Lloh3:
	adrp	x8, _IFLA_GRE_LINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFLA_GRE_LINK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_nla_get_u32
	str	w0, [x19, #80]
LBB0_3:
Lloh6:
	adrp	x8, _IFLA_GRE_IFLAGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFLA_GRE_IFLAGS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_nla_get_be16
	bl	_gre_flags_to_tnl_flags
	str	x0, [x19, #72]
LBB0_5:
Lloh9:
	adrp	x8, _IFLA_GRE_OFLAGS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFLA_GRE_OFLAGS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_nla_get_be16
	bl	_gre_flags_to_tnl_flags
	str	x0, [x19, #64]
LBB0_7:
Lloh12:
	adrp	x8, _IFLA_GRE_IKEY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IFLA_GRE_IKEY@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.8:
	bl	_nla_get_be32
	str	x0, [x19, #56]
LBB0_9:
Lloh15:
	adrp	x8, _IFLA_GRE_OKEY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IFLA_GRE_OKEY@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nla_get_be32
	str	x0, [x19, #48]
LBB0_11:
Lloh18:
	adrp	x8, _IFLA_GRE_LOCAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IFLA_GRE_LOCAL@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_13
; %bb.12:
	bl	_nla_get_be32
	str	x0, [x19, #32]
LBB0_13:
Lloh21:
	adrp	x8, _IFLA_GRE_REMOTE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IFLA_GRE_REMOTE@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_15
; %bb.14:
	bl	_nla_get_be32
	str	x0, [x19, #24]
LBB0_15:
Lloh24:
	adrp	x8, _IFLA_GRE_TTL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IFLA_GRE_TTL@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_17
; %bb.16:
	bl	_nla_get_u8
	str	x0, [x19, #16]
LBB0_17:
Lloh27:
	adrp	x8, _IFLA_GRE_TOS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IFLA_GRE_TOS@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_19
; %bb.18:
	bl	_nla_get_u8
	str	x0, [x19, #8]
LBB0_19:
Lloh30:
	adrp	x8, _IFLA_GRE_PMTUDISC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IFLA_GRE_PMTUDISC@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_nla_get_u8
	cbz	x0, LBB0_22
LBB0_21:
Lloh33:
	adrp	x8, _IP_DF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IP_DF@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x19]
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_GRE,4,2                ; @IPPROTO_GRE
	.comm	_IFLA_GRE_LINK,8,3              ; @IFLA_GRE_LINK
	.comm	_IFLA_GRE_IFLAGS,8,3            ; @IFLA_GRE_IFLAGS
	.comm	_IFLA_GRE_OFLAGS,8,3            ; @IFLA_GRE_OFLAGS
	.comm	_IFLA_GRE_IKEY,8,3              ; @IFLA_GRE_IKEY
	.comm	_IFLA_GRE_OKEY,8,3              ; @IFLA_GRE_OKEY
	.comm	_IFLA_GRE_LOCAL,8,3             ; @IFLA_GRE_LOCAL
	.comm	_IFLA_GRE_REMOTE,8,3            ; @IFLA_GRE_REMOTE
	.comm	_IFLA_GRE_TTL,8,3               ; @IFLA_GRE_TTL
	.comm	_IFLA_GRE_TOS,8,3               ; @IFLA_GRE_TOS
	.comm	_IFLA_GRE_PMTUDISC,8,3          ; @IFLA_GRE_PMTUDISC
	.comm	_IP_DF,4,2                      ; @IP_DF
	.no_dead_strip	_ipgre_netlink_parms
.subsections_via_symbols
