	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_rx_bufsz
_igc_rx_bufsz:                          ## @igc_rx_bufsz
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_ring_uses_large_buffer
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_IGC_RXBUFFER_3072@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_2:
	movq	%rbx, %rdi
	callq	_ring_uses_build_skb
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_IGC_MAX_FRAME_BUILD_SKB@GOTPCREL(%rip), %rcx
	movq	_IGC_TS_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_IGC_RXBUFFER_2048@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_RXBUFFER_3072,4,2          ## @IGC_RXBUFFER_3072
	.comm	_IGC_MAX_FRAME_BUILD_SKB,4,2    ## @IGC_MAX_FRAME_BUILD_SKB
	.comm	_IGC_TS_HDR_LEN,4,2             ## @IGC_TS_HDR_LEN
	.comm	_IGC_RXBUFFER_2048,4,2          ## @IGC_RXBUFFER_2048
	.no_dead_strip	_igc_rx_bufsz
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_rx_bufsz
_igc_rx_bufsz:                          ; @igc_rx_bufsz
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_ring_uses_large_buffer
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _IGC_RXBUFFER_3072@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IGC_RXBUFFER_3072@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_ring_uses_build_skb
	cbz	x0, LBB0_6
; %bb.4:
Lloh2:
	adrp	x8, _IGC_MAX_FRAME_BUILD_SKB@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IGC_MAX_FRAME_BUILD_SKB@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _IGC_TS_HDR_LEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IGC_TS_HDR_LEN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	add	w0, w9, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh8:
	adrp	x8, _IGC_RXBUFFER_2048@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IGC_RXBUFFER_2048@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_RXBUFFER_3072,4,2          ; @IGC_RXBUFFER_3072
	.comm	_IGC_MAX_FRAME_BUILD_SKB,4,2    ; @IGC_MAX_FRAME_BUILD_SKB
	.comm	_IGC_TS_HDR_LEN,4,2             ; @IGC_TS_HDR_LEN
	.comm	_IGC_RXBUFFER_2048,4,2          ; @IGC_RXBUFFER_2048
	.no_dead_strip	_igc_rx_bufsz
.subsections_via_symbols
