	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gtp_find_pdp_by_link
_gtp_find_pdp_by_link:                  ## @gtp_find_pdp_by_link
	.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
	callq	_gtp_find_dev
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %r14
	movq	_GTPA_MS_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.10:
	callq	_nla_get_be32
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ipv4_pdp_find                  ## TAILCALL
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_GTPA_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.5:
	callq	_nla_get_u32
	movq	_GTP_V0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_GTPA_TID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rbx,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.11:
	callq	_nla_get_u64
	movq	%r14, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gtp0_pdp_find                  ## TAILCALL
LBB0_7:
	movq	_GTP_V1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_GTPA_I_TEI@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.12:
	callq	_nla_get_u32
	movq	%r14, %rdi
	movq	%rax, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gtp1_pdp_find                  ## TAILCALL
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GTPA_MS_ADDRESS,8,3            ## @GTPA_MS_ADDRESS
	.comm	_GTPA_VERSION,8,3               ## @GTPA_VERSION
	.comm	_GTP_V0,8,3                     ## @GTP_V0
	.comm	_GTPA_TID,8,3                   ## @GTPA_TID
	.comm	_GTP_V1,8,3                     ## @GTP_V1
	.comm	_GTPA_I_TEI,8,3                 ## @GTPA_I_TEI
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_gtp_find_pdp_by_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gtp_find_pdp_by_link
_gtp_find_pdp_by_link:                  ; @gtp_find_pdp_by_link
	.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
	bl	_gtp_find_dev
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _GTPA_MS_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GTPA_MS_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_4
; %bb.2:
	bl	_nla_get_be32
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ipv4_pdp_find
LBB0_3:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_12
LBB0_4:
Lloh5:
	adrp	x8, _GTPA_VERSION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GTPA_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_11
; %bb.5:
	bl	_nla_get_u32
Lloh8:
	adrp	x8, _GTP_V0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GTP_V0@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.6:
Lloh11:
	adrp	x8, _GTPA_TID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GTPA_TID@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x8
	bl	_nla_get_u64
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gtp0_pdp_find
LBB0_8:
Lloh14:
	adrp	x8, _GTP_V1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GTP_V1@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.9:
Lloh17:
	adrp	x8, _GTPA_I_TEI@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GTPA_I_TEI@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_nla_get_u32
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gtp1_pdp_find
LBB0_11:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GTPA_MS_ADDRESS,8,3            ; @GTPA_MS_ADDRESS
	.comm	_GTPA_VERSION,8,3               ; @GTPA_VERSION
	.comm	_GTP_V0,8,3                     ; @GTP_V0
	.comm	_GTPA_TID,8,3                   ; @GTPA_TID
	.comm	_GTP_V1,8,3                     ; @GTP_V1
	.comm	_GTPA_I_TEI,8,3                 ; @GTPA_I_TEI
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_gtp_find_pdp_by_link
.subsections_via_symbols
