	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipxitf_adjust_skbuff
_ipxitf_adjust_skbuff:                  ## @ipxitf_adjust_skbuff
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_ipx_hdr
	subl	(%r15), %eax
	movl	(%rbx), %ebx
	cmpl	%eax, %ebx
	jle	LBB0_1
## %bb.2:
	movl	8(%r15), %edi
	addl	%ebx, %edi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_skb_reserve
	movq	%r14, %rdi
	callq	_skb_reset_network_header
	movq	%r14, %rdi
	callq	_skb_reset_transport_header
	movl	8(%r15), %esi
	movq	%r14, %rdi
	callq	_skb_put
	movq	%r14, %rdi
	callq	_ipx_hdr
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_ipx_hdr
	movl	8(%r15), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_memcpy
	movq	16(%r14), %rdi
	movq	16(%r15), %rsi
	movl	$8, %edx
	callq	_memcpy
LBB0_4:
	movq	%r15, %rdi
	callq	_kfree_skb
	jmp	LBB0_5
LBB0_1:
	movq	%r15, %r14
LBB0_5:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_ipxitf_adjust_skbuff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipxitf_adjust_skbuff
_ipxitf_adjust_skbuff:                  ; @ipxitf_adjust_skbuff
	.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, x1
	mov	x20, x0
	mov	x0, x1
	bl	_ipx_hdr
	ldr	w8, [x19]
	ldr	w21, [x20]
	sub	w8, w0, w8
	cmp	w21, w8
	b.le	LBB0_4
; %bb.1:
	ldr	w8, [x19, #8]
	add	w0, w8, w21
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_alloc_skb
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	bl	_skb_reserve
	mov	x0, x20
	bl	_skb_reset_network_header
	mov	x0, x20
	bl	_skb_reset_transport_header
	ldr	w1, [x19, #8]
	mov	x0, x20
	bl	_skb_put
	mov	x0, x20
	bl	_ipx_hdr
	mov	x21, x0
	mov	x0, x19
	bl	_ipx_hdr
	mov	x1, x0
	ldr	w2, [x19, #8]
	mov	x0, x21
	bl	_memcpy
	ldr	x0, [x20, #16]
	ldr	x1, [x19, #16]
	mov	w2, #8
	bl	_memcpy
LBB0_3:
	mov	x0, x19
	bl	_kfree_skb
	b	LBB0_5
LBB0_4:
	mov	x20, x19
LBB0_5:
	mov	x0, x20
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_ipxitf_adjust_skbuff
.subsections_via_symbols
