	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipgre_fill_info
_ipgre_fill_info:                       ## @ipgre_fill_info
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_IFLA_GRE_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	36(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_u32
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	_IFLA_GRE_IFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	32(%r15), %edi
	callq	_tnl_flags_to_gre_flags
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_nla_put_be16
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	movq	_IFLA_GRE_OFLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	28(%r15), %edi
	callq	_tnl_flags_to_gre_flags
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_nla_put_be16
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	movq	_IFLA_GRE_IKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	24(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_be32
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	movq	_IFLA_GRE_OKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_be32
	testq	%rax, %rax
	jne	LBB0_11
## %bb.5:
	movq	_IFLA_GRE_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_be32
	testq	%rax, %rax
	jne	LBB0_11
## %bb.6:
	movq	_IFLA_GRE_REMOTE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_be32
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	movq	_IFLA_GRE_TTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	_IFLA_GRE_TOS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r15), %edx
	movq	%r14, %rdi
	callq	_nla_put_u8
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movq	_IFLA_GRE_PMTUDISC@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	8(%r15), %ebx
	movq	_IP_DF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	xorl	%edx, %edx
	testl	%ebx, %eax
	setne	%dl
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_nla_put_u8
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_12:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_IFLA_GRE_LINK,4,2              ## @IFLA_GRE_LINK
	.comm	_IFLA_GRE_IFLAGS,4,2            ## @IFLA_GRE_IFLAGS
	.comm	_IFLA_GRE_OFLAGS,4,2            ## @IFLA_GRE_OFLAGS
	.comm	_IFLA_GRE_IKEY,4,2              ## @IFLA_GRE_IKEY
	.comm	_IFLA_GRE_OKEY,4,2              ## @IFLA_GRE_OKEY
	.comm	_IFLA_GRE_LOCAL,4,2             ## @IFLA_GRE_LOCAL
	.comm	_IFLA_GRE_REMOTE,4,2            ## @IFLA_GRE_REMOTE
	.comm	_IFLA_GRE_TTL,4,2               ## @IFLA_GRE_TTL
	.comm	_IFLA_GRE_TOS,4,2               ## @IFLA_GRE_TOS
	.comm	_IFLA_GRE_PMTUDISC,4,2          ## @IFLA_GRE_PMTUDISC
	.comm	_IP_DF,4,2                      ## @IP_DF
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_ipgre_fill_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipgre_fill_info
_ipgre_fill_info:                       ; @ipgre_fill_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	x0, x1
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _IFLA_GRE_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFLA_GRE_LINK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0, #36]
	mov	x0, x19
	bl	_nla_put_u32
	cbnz	x0, LBB0_10
; %bb.1:
Lloh3:
	adrp	x8, _IFLA_GRE_IFLAGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFLA_GRE_IFLAGS@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w0, [x20, #32]
	bl	_tnl_flags_to_gre_flags
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nla_put_be16
	cbnz	x0, LBB0_10
; %bb.2:
Lloh6:
	adrp	x8, _IFLA_GRE_OFLAGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IFLA_GRE_OFLAGS@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	ldr	w0, [x20, #28]
	bl	_tnl_flags_to_gre_flags
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_nla_put_be16
	cbnz	x0, LBB0_10
; %bb.3:
Lloh9:
	adrp	x8, _IFLA_GRE_IKEY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IFLA_GRE_IKEY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x20, #24]
	mov	x0, x19
	bl	_nla_put_be32
	cbnz	x0, LBB0_10
; %bb.4:
Lloh12:
	adrp	x8, _IFLA_GRE_OKEY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IFLA_GRE_OKEY@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x20, #20]
	mov	x0, x19
	bl	_nla_put_be32
	cbnz	x0, LBB0_10
; %bb.5:
Lloh15:
	adrp	x8, _IFLA_GRE_LOCAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IFLA_GRE_LOCAL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x19
	bl	_nla_put_be32
	cbnz	x0, LBB0_10
; %bb.6:
Lloh18:
	adrp	x8, _IFLA_GRE_REMOTE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IFLA_GRE_REMOTE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldr	w2, [x20, #12]
	mov	x0, x19
	bl	_nla_put_be32
	cbnz	x0, LBB0_10
; %bb.7:
Lloh21:
	adrp	x8, _IFLA_GRE_TTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IFLA_GRE_TTL@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x20]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_10
; %bb.8:
Lloh24:
	adrp	x8, _IFLA_GRE_TOS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IFLA_GRE_TOS@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	ldr	w2, [x20, #4]
	mov	x0, x19
	bl	_nla_put_u8
	cbnz	x0, LBB0_10
; %bb.9:
Lloh27:
	adrp	x8, _IFLA_GRE_PMTUDISC@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IFLA_GRE_PMTUDISC@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
	ldr	w20, [x20, #8]
Lloh30:
	adrp	x8, _IP_DF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IP_DF@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	bl	_htons
	tst	w0, w20
	cset	w2, ne
	mov	x0, x19
	mov	x1, x21
	bl	_nla_put_u8
	cbz	x0, LBB0_11
LBB0_10:
Lloh33:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_IFLA_GRE_LINK,4,2              ; @IFLA_GRE_LINK
	.comm	_IFLA_GRE_IFLAGS,4,2            ; @IFLA_GRE_IFLAGS
	.comm	_IFLA_GRE_OFLAGS,4,2            ; @IFLA_GRE_OFLAGS
	.comm	_IFLA_GRE_IKEY,4,2              ; @IFLA_GRE_IKEY
	.comm	_IFLA_GRE_OKEY,4,2              ; @IFLA_GRE_OKEY
	.comm	_IFLA_GRE_LOCAL,4,2             ; @IFLA_GRE_LOCAL
	.comm	_IFLA_GRE_REMOTE,4,2            ; @IFLA_GRE_REMOTE
	.comm	_IFLA_GRE_TTL,4,2               ; @IFLA_GRE_TTL
	.comm	_IFLA_GRE_TOS,4,2               ; @IFLA_GRE_TOS
	.comm	_IFLA_GRE_PMTUDISC,4,2          ; @IFLA_GRE_PMTUDISC
	.comm	_IP_DF,4,2                      ; @IP_DF
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_ipgre_fill_info
.subsections_via_symbols
