	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxgb4_fill_ipv4_frag
_cxgb4_fill_ipv4_frag:                  ## @cxgb4_fill_ipv4_frag
	.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
	movl	%edx, %r15d
	movq	%rdi, %r14
	movl	%esi, %edi
	callq	_ntohl
	movl	%eax, %ebx
	shrl	$13, %ebx
	andl	$7, %ebx
	movl	%r15d, %edi
	callq	_ntohl
	movzwl	%ax, %eax
	cmpl	$1, %ebx
	jne	LBB0_3
## %bb.1:
	cmpl	$16383, %eax                    ## imm = 0x3FFF
	je	LBB0_3
## %bb.2:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	cmpl	$2, %ebx
	jne	LBB0_6
## %bb.4:
	cmpl	$16383, %eax                    ## imm = 0x3FFF
	je	LBB0_6
## %bb.5:
	movq	$1, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_cxgb4_fill_ipv4_frag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function cxgb4_fill_ipv4_frag
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_cxgb4_fill_ipv4_frag:                  ; @cxgb4_fill_ipv4_frag
	.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, x2
	mov	x19, x0
	mov	x0, x1
	bl	_ntohl
	ubfx	w21, w0, #13, #3
	mov	x0, x20
	bl	_ntohl
	and	w8, w0, #0xffff
	cmp	w21, #1
	mov	w9, #16383
	ccmp	w8, w9, #4, eq
	b.ne	LBB0_4
; %bb.1:
	cmp	w21, #2
	b.ne	LBB0_5
; %bb.2:
	mov	w9, #16383
	cmp	w8, w9
	b.eq	LBB0_5
; %bb.3:
	mov	w0, #0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	movi.2s	v0, #1
	str	d0, [x19]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_cxgb4_fill_ipv4_frag
.subsections_via_symbols
