	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gtp_genl_new_pdp
_gtp_genl_new_pdp:                      ## @gtp_genl_new_pdp
	.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), %rax
	movq	_GTPA_VERSION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	testl	%edi, %edi
	je	LBB0_15
## %bb.1:
	movq	_GTPA_LINK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.2:
	movq	_GTPA_PEER_ADDRESS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.3:
	movq	_GTPA_MS_ADDRESS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.4:
	movq	%rsi, %r15
	callq	_nla_get_u32
	movl	%eax, %r12d
	cmpl	$128, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$129, %r12d
	jne	LBB0_15
## %bb.6:
	movq	(%r15), %rax
	movq	_GTPA_TID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.7:
	movq	_GTPA_FLOW@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
LBB0_8:
	movq	(%r15), %rax
	movq	_GTPA_I_TEI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.9:
	movq	_GTPA_O_TEI@GOTPCREL(%rip), %rcx
LBB0_10:
	movq	(%rcx), %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_15
## %bb.11:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_rtnl_lock
	xorl	%eax, %eax
	callq	_rcu_read_lock
	movl	(%r14), %edi
	callq	_sock_net
	movq	(%r15), %rsi
	movl	%eax, %edi
	callq	_gtp_find_dev
	testq	%rax, %rax
	je	LBB0_17
## %bb.12:
	cmpl	$128, %r12d
	je	LBB0_18
## %bb.13:
	cmpl	$129, %r12d
	jne	LBB0_21
## %bb.14:
	movq	%rax, %rcx
	addq	$8, %rcx
	jmp	LBB0_19
LBB0_15:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_18:
	movq	%rax, %rcx
LBB0_19:
	movq	(%rcx), %rsi
	testq	%rsi, %rsi
	je	LBB0_21
## %bb.20:
	movq	%rax, %rdi
	movq	%r15, %rdx
	callq	_ipv4_pdp_add
	movl	%eax, %ebx
	jmp	LBB0_23
LBB0_21:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
LBB0_22:
	subl	(%rax), %ebx
LBB0_23:
	xorl	%eax, %eax
	callq	_rcu_read_unlock
	xorl	%eax, %eax
	callq	_rtnl_unlock
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_GTPA_VERSION,8,3               ## @GTPA_VERSION
	.comm	_GTPA_LINK,8,3                  ## @GTPA_LINK
	.comm	_GTPA_PEER_ADDRESS,8,3          ## @GTPA_PEER_ADDRESS
	.comm	_GTPA_MS_ADDRESS,8,3            ## @GTPA_MS_ADDRESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GTPA_TID,8,3                   ## @GTPA_TID
	.comm	_GTPA_FLOW,8,3                  ## @GTPA_FLOW
	.comm	_GTPA_I_TEI,8,3                 ## @GTPA_I_TEI
	.comm	_GTPA_O_TEI,8,3                 ## @GTPA_O_TEI
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_gtp_genl_new_pdp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gtp_genl_new_pdp
_gtp_genl_new_pdp:                      ; @gtp_genl_new_pdp
	.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	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _GTPA_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _GTPA_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	cbz	w0, LBB0_15
; %bb.1:
Lloh3:
	adrp	x9, _GTPA_LINK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _GTPA_LINK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_15
; %bb.2:
Lloh6:
	adrp	x9, _GTPA_PEER_ADDRESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GTPA_PEER_ADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_15
; %bb.3:
Lloh9:
	adrp	x9, _GTPA_MS_ADDRESS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _GTPA_MS_ADDRESS@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_15
; %bb.4:
	mov	x19, x1
	bl	_nla_get_u32
	mov	x21, x0
	cmp	w0, #128
	b.eq	LBB0_8
; %bb.5:
	cmp	w21, #129
	b.ne	LBB0_15
; %bb.6:
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _GTPA_TID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _GTPA_TID@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_15
; %bb.7:
Lloh15:
	adrp	x9, _GTPA_FLOW@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GTPA_FLOW@GOTPAGEOFF]
	b	LBB0_10
LBB0_8:
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _GTPA_I_TEI@GOTPAGE
Lloh18:
	ldr	x9, [x9, _GTPA_I_TEI@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
	cbz	w9, LBB0_15
; %bb.9:
Lloh20:
	adrp	x9, _GTPA_O_TEI@GOTPAGE
Lloh21:
	ldr	x9, [x9, _GTPA_O_TEI@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	cbz	w8, LBB0_15
; %bb.11:
	bl	_rtnl_lock
	bl	_rcu_read_lock
	ldr	w0, [x20]
	bl	_sock_net
	ldr	x1, [x19]
	bl	_gtp_find_dev
	cbz	x0, LBB0_20
; %bb.12:
	cmp	w21, #128
	b.eq	LBB0_17
; %bb.13:
	cmp	w21, #129
	b.ne	LBB0_20
; %bb.14:
	add	x8, x0, #8
	b	LBB0_18
LBB0_15:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_16:
	mov	x0, x19
	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
LBB0_17:
	mov	x8, x0
LBB0_18:
	ldr	x1, [x8]
	cbz	x1, LBB0_20
; %bb.19:
	mov	x2, x19
	bl	_ipv4_pdp_add
	mov	x19, x0
	b	LBB0_21
LBB0_20:
Lloh25:
	adrp	x8, _ENODEV@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_21:
	bl	_rcu_read_unlock
	bl	_rtnl_unlock
	b	LBB0_16
	.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 AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_GTPA_VERSION,8,3               ; @GTPA_VERSION
	.comm	_GTPA_LINK,8,3                  ; @GTPA_LINK
	.comm	_GTPA_PEER_ADDRESS,8,3          ; @GTPA_PEER_ADDRESS
	.comm	_GTPA_MS_ADDRESS,8,3            ; @GTPA_MS_ADDRESS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GTPA_TID,8,3                   ; @GTPA_TID
	.comm	_GTPA_FLOW,8,3                  ; @GTPA_FLOW
	.comm	_GTPA_I_TEI,8,3                 ; @GTPA_I_TEI
	.comm	_GTPA_O_TEI,8,3                 ; @GTPA_O_TEI
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_gtp_genl_new_pdp
.subsections_via_symbols
