	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_vs_sip_fill_param
_ip_vs_sip_fill_param:                  ## @ip_vs_sip_fill_param
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	8(%rdi), %ebx
	movq	%rsi, %rdi
	callq	_skb_network_header
	leaq	-56(%rbp), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ip_vs_fill_iphdr
	movq	-56(%rbp), %rax
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	movl	-48(%rbp), %ebx
	addl	$4, %ebx
	cmpl	(%r12), %ebx
	jae	LBB0_1
## %bb.4:
	movq	%r12, %rdi
	callq	_skb_linearize
	testl	%eax, %eax
	js	LBB0_9
## %bb.5:
	movl	%ebx, %r14d
	addq	8(%r12), %r14
	movl	(%r12), %edx
	subl	%ebx, %edx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_get_callid
	testq	%rax, %rax
	je	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	-36(%rbp), %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	movl	%eax, 4(%r15)
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	-40(%rbp), %ecx
	addq	%rcx, %r14
	movl	-36(%rbp), %edx
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_memcpy
	movl	-36(%rbp), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_IPPROTO_UDP,8,3                ## @IPPROTO_UDP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ip_vs_sip_fill_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_vs_sip_fill_param
_ip_vs_sip_fill_param:                  ; @ip_vs_sip_fill_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x19, x0
	ldr	w21, [x0, #8]
	mov	x0, x1
	bl	_skb_network_header
	mov	x1, x0
	add	x2, sp, #16
	mov	x0, x21
	bl	_ip_vs_fill_iphdr
	ldr	x8, [sp, #16]
Lloh0:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w8, [sp, #24]
	add	w22, w8, #4
	ldr	w8, [x20]
	cmp	w22, w8
	b.hs	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_skb_linearize
	tbnz	w0, #31, LBB0_6
; %bb.3:
	ldr	x8, [x20, #8]
	add	x21, x8, w22, uxtw
	ldr	w8, [x20]
	sub	w2, w8, w22
	add	x3, sp, #12
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_get_callid
	cbz	x0, LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	ldr	w0, [sp, #8]
Lloh5:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_kmalloc
	str	w0, [x19, #4]
	cbz	w0, LBB0_9
; %bb.8:
	ldp	w2, w8, [sp, #8]
	add	x1, x21, x8
	bl	_memcpy
	mov	w0, #0
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_6
LBB0_9:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IPPROTO_UDP,8,3                ; @IPPROTO_UDP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ip_vs_sip_fill_param
.subsections_via_symbols
