	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gtp_find_dev
_gtp_find_dev:                          ## @gtp_find_dev
	.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	%rsi, %rbx
	movq	_GTPA_NET_NS_FD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rsi,%rax,8), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_nla_get_u32
	movl	%eax, %edi
	callq	_get_net_ns_by_fd
	jmp	LBB0_3
LBB0_2:
	callq	_get_net
LBB0_3:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_5:
	movq	_GTPA_LINK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_dev_get_by_index_rcu
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%rax), %rcx
	cmpq	_gtp_netdev_ops@GOTPCREL(%rip), %rcx
	je	LBB0_9
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_9:
	movq	%rax, %rdi
	callq	_netdev_priv
	movq	%rax, %rbx
LBB0_10:
	movq	%r14, %rdi
	callq	_put_net
LBB0_11:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GTPA_NET_NS_FD,8,3             ## @GTPA_NET_NS_FD
	.comm	_GTPA_LINK,8,3                  ## @GTPA_LINK
	.comm	_gtp_netdev_ops,4,2             ## @gtp_netdev_ops
	.no_dead_strip	_gtp_find_dev
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gtp_find_dev
_gtp_find_dev:                          ; @gtp_find_dev
	.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	x20, x1
Lloh0:
	adrp	x8, _GTPA_NET_NS_FD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GTPA_NET_NS_FD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x1, x8, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x8
	bl	_nla_get_u32
	bl	_get_net_ns_by_fd
	b	LBB0_3
LBB0_2:
	bl	_get_net
LBB0_3:
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
; %bb.4:
	mov	x20, #0
	b	LBB0_10
LBB0_5:
Lloh3:
	adrp	x8, _GTPA_LINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GTPA_LINK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u32
	mov	x1, x0
	mov	x0, x19
	bl	_dev_get_by_index_rcu
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _gtp_netdev_ops@GOTPAGE
Lloh7:
	ldr	x9, [x9, _gtp_netdev_ops@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_8
LBB0_7:
	mov	x20, #0
	b	LBB0_9
LBB0_8:
	bl	_netdev_priv
	mov	x20, x0
LBB0_9:
	mov	x0, x19
	bl	_put_net
LBB0_10:
	mov	x0, x20
	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 AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GTPA_NET_NS_FD,8,3             ; @GTPA_NET_NS_FD
	.comm	_GTPA_LINK,8,3                  ; @GTPA_LINK
	.comm	_gtp_netdev_ops,4,2             ; @gtp_netdev_ops
	.no_dead_strip	_gtp_find_dev
.subsections_via_symbols
