	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfar_add_rx_frag
_gfar_add_rx_frag:                      ## @gfar_add_rx_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_BD_LENGTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%esi, %ebx
	movq	8(%rdi), %r15
	movl	%ecx, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skb_put
	jmp	LBB0_5
LBB0_2:
	movq	_RXBD_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BD_LFLAG
	testl	%r13d, %eax
	je	LBB0_4
## %bb.3:
	subl	(%r12), %ebx
LBB0_4:
	movq	%r12, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movq	_RXBUF_ALIGNMENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	(%r14), %rcx
	movq	_GFAR_RXB_TRUESIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	%r12, %rdi
	movq	%r15, %rdx
	movl	%ebx, %r8d
	callq	_skb_add_rx_frag
LBB0_5:
	movq	%r15, %rdi
	callq	_page_count
	movl	$1, %edi
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_page_is_pfmemalloc
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
LBB0_7:
	callq	_unlikely
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_9
## %bb.8:
	movq	_GFAR_RXB_TRUESIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorq	%rax, (%r14)
	movq	%r15, %rdi
	callq	_page_ref_inc
	movl	$1, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BD_LENGTH_MASK,4,2             ## @BD_LENGTH_MASK
	.comm	_RXBD_LAST,4,2                  ## @RXBD_LAST
	.comm	_RXBUF_ALIGNMENT,8,3            ## @RXBUF_ALIGNMENT
	.comm	_GFAR_RXB_TRUESIZE,8,3          ## @GFAR_RXB_TRUESIZE
	.no_dead_strip	_gfar_add_rx_frag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfar_add_rx_frag
_gfar_add_rx_frag:                      ; @gfar_add_rx_frag
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _BD_LENGTH_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BD_LENGTH_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w22, w8, w1
	ldr	x20, [x0, #8]
	mov	x0, x3
	bl	_likely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x22
	bl	_skb_put
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _RXBD_LAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXBD_LAST@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_BD_LFLAG
	tst	w0, w23
	b.eq	LBB0_4
; %bb.3:
	ldr	w8, [x21]
	sub	w22, w22, w8
LBB0_4:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w1, [x0]
Lloh6:
	adrp	x8, _RXBUF_ALIGNMENT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RXBUF_ALIGNMENT@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh8:
	ldr	x8, [x8]
	add	x3, x8, x9
Lloh9:
	adrp	x8, _GFAR_RXB_TRUESIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFAR_RXB_TRUESIZE@GOTPAGEOFF]
Lloh11:
	ldr	x5, [x8]
	mov	x0, x21
	mov	x2, x20
	mov	x4, x22
	bl	_skb_add_rx_frag
LBB0_5:
	mov	x0, x20
	bl	_page_count
	cmp	w0, #1
	b.ne	LBB0_8
; %bb.6:
	mov	x0, x20
	bl	_page_is_pfmemalloc
	cmp	x0, #0
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_9
LBB0_7:
	mov	w0, #0
	b	LBB0_10
LBB0_8:
	mov	w0, #1
	bl	_unlikely
	cbnz	x0, LBB0_7
LBB0_9:
Lloh12:
	adrp	x8, _GFAR_RXB_TRUESIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GFAR_RXB_TRUESIZE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x9, [x19]
	eor	x8, x9, x8
	str	x8, [x19]
	mov	x0, x20
	bl	_page_ref_inc
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BD_LENGTH_MASK,4,2             ; @BD_LENGTH_MASK
	.comm	_RXBD_LAST,4,2                  ; @RXBD_LAST
	.comm	_RXBUF_ALIGNMENT,8,3            ; @RXBUF_ALIGNMENT
	.comm	_GFAR_RXB_TRUESIZE,8,3          ; @GFAR_RXB_TRUESIZE
	.no_dead_strip	_gfar_add_rx_frag
.subsections_via_symbols
