	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_add_rx_frag
_igb_add_rx_frag:                       ## @igb_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	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r14
	movl	(%rdx), %edi
	callq	_le16_to_cpu
	movl	%eax, %r12d
	movq	_IGB_RX_HDR_LEN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	ja	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_is_nonlinear
	testl	%eax, %eax
	je	LBB0_2
LBB0_6:
	movq	%rbx, %rdi
	callq	_skb_shinfo
	movl	(%rax), %esi
	movl	(%r15), %ecx
	movq	_IGB_RX_BUFSZ@GOTPCREL(%rip), %r13
	movl	(%r13), %r9d
	movq	%rbx, %rdi
	movq	%r14, %rdx
	movl	%r12d, %r8d
	callq	_skb_add_rx_frag
	movq	%r14, %rdi
	callq	_page_to_nid
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_numa_node_id
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movq	%r14, %rdi
	callq	_page_count
	xorl	%edi, %edi
	cmpl	$1, %eax
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	(%r13), %eax
	xorl	%eax, (%r15)
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_atomic_set
	movl	$1, %r12d
	jmp	LBB0_9
LBB0_2:
	movq	%r14, %rdi
	callq	_page_address
	movslq	(%r15), %r15
	addq	%rax, %r15
	movq	_E1000_RXDADV_STAT_TSIP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_igb_test_staterr
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_igb_ptp_rx_pktstamp
	movq	_IGB_TS_HDR_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, %r15
	subl	%eax, %r12d
LBB0_4:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	___skb_put
	movl	%eax, %ebx
	movl	%r12d, %edi
	movl	$8, %esi
	callq	_ALIGN
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	%r14, %rdi
	callq	_page_to_nid
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_numa_node_id
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_likely
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:
	movq	%r14, %rdi
	callq	_put_page
	xorl	%r12d, %r12d
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IGB_RX_HDR_LEN,4,2             ## @IGB_RX_HDR_LEN
	.comm	_E1000_RXDADV_STAT_TSIP,4,2     ## @E1000_RXDADV_STAT_TSIP
	.comm	_IGB_TS_HDR_LEN,8,3             ## @IGB_TS_HDR_LEN
	.comm	_IGB_RX_BUFSZ,4,2               ## @IGB_RX_BUFSZ
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_igb_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 igb_add_rx_frag
_igb_add_rx_frag:                       ; @igb_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, x3
	mov	x24, x2
	mov	x20, x1
	mov	x23, x0
	ldr	x19, [x1, #8]
	ldr	w0, [x2]
	bl	_le16_to_cpu
	mov	x22, x0
Lloh0:
	adrp	x8, _IGB_RX_HDR_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGB_RX_HDR_LEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.hi	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_skb_is_nonlinear
	cbz	w0, LBB0_5
LBB0_2:
	mov	x0, x21
	bl	_skb_shinfo
	ldr	w1, [x0]
	ldr	w3, [x20]
Lloh3:
	adrp	x23, _IGB_RX_BUFSZ@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IGB_RX_BUFSZ@GOTPAGEOFF]
	ldr	w5, [x23]
	mov	x0, x21
	mov	x2, x19
	mov	x4, x22
	bl	_skb_add_rx_frag
	mov	x0, x19
	bl	_page_to_nid
	mov	x21, x0
	bl	_numa_node_id
	cmp	x21, x0
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.3:
	mov	x0, x19
	bl	_page_count
	cmp	w0, #1
	cset	w0, ne
	bl	_unlikely
	cbnz	x0, LBB0_10
; %bb.4:
	ldr	w8, [x23]
	ldr	w9, [x20]
	eor	w8, w9, w8
	str	w8, [x20]
	mov	x0, x19
	mov	w1, #2
	bl	_atomic_set
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_page_address
	ldrsw	x8, [x20]
	add	x20, x0, x8
Lloh5:
	adrp	x8, _E1000_RXDADV_STAT_TSIP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_RXDADV_STAT_TSIP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_igb_test_staterr
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x23]
	mov	x1, x20
	mov	x2, x21
	bl	_igb_ptp_rx_pktstamp
Lloh8:
	adrp	x8, _IGB_TS_HDR_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IGB_TS_HDR_LEN@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	add	x20, x20, x8
	sub	w22, w22, w8
LBB0_7:
	mov	x0, x21
	mov	x1, x22
	bl	___skb_put
	mov	x21, x0
	mov	x0, x22
	mov	w1, #8
	bl	_ALIGN
	mov	x2, x0
	mov	x0, x21
	mov	x1, x20
	bl	_memcpy
	mov	x0, x19
	bl	_page_to_nid
	mov	x20, x0
	bl	_numa_node_id
	cmp	x20, x0
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_9
LBB0_8:
	mov	w0, #1
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_put_page
LBB0_10:
	mov	w0, #0
LBB0_11:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IGB_RX_HDR_LEN,4,2             ; @IGB_RX_HDR_LEN
	.comm	_E1000_RXDADV_STAT_TSIP,4,2     ; @E1000_RXDADV_STAT_TSIP
	.comm	_IGB_TS_HDR_LEN,8,3             ; @IGB_TS_HDR_LEN
	.comm	_IGB_RX_BUFSZ,4,2               ; @IGB_RX_BUFSZ
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_igb_add_rx_frag
.subsections_via_symbols
